TnefReaderDepth Property

Get the nesting depth of the reader.

Definition

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

Property Value

Int32
The nesting depth.

Remarks

Gets the nesting depth of the reader.

A reader for a top-level TNEF stream has a depth of 0. A reader created by OpenEmbeddedMessage has a depth one greater than the reader that created it.

See Also