Share via


MimePart.SubtreeEnumerator.Depth property

The Depth property gets the depth of the current MimePart object within the MimePart.PartSubtree structure that belongs to this MimePart object.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public ReadOnly Property Depth As Integer
    Get
'Usage
Dim instance As MimePart.SubtreeEnumerator
Dim value As Integer

value = instance.Depth
public int Depth { get; }

Property value

Type: System.Int32
The value of the Depth property is zero for the root node of a MimePart.PartSubtree structure.

See also

Reference

MimePart.SubtreeEnumerator structure

MimePart.SubtreeEnumerator members

Microsoft.Exchange.Data.Mime namespace