TnefPropertyReaderPropertyCount Property

Get the number of properties.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int PropertyCount { get; }

Property Value

Int32
The property count.

Remarks

Gets the number of properties in the attribute or, for a RecipientTable attribute, in the current row.

The property count is read by the first call to ReadNextProperty(CancellationToken) (or, for a table, by ReadNextRow(CancellationToken)), so until then it is 0.

Exceptions

ObjectDisposedException The TnefReader has been disposed.
InvalidOperationException The TnefReader has been advanced to another attribute.

See Also