| MimeIteratorDepth Property |
Get the depth of the current entity.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public int Depth { get; }
Property Value
Int32The depth.
Exceptions Remarks
After an iterator is created or after the
Reset method is called,
the
MoveNext method must be called to advance the iterator to the
first entity of the message before reading the value of the Depth property;
otherwise, Depth throws a
InvalidOperationException. Depth
also throws a
InvalidOperationException if the last call to
MoveNext returned false, which indicates the end of the message.
See Also