Поделиться через


OpenXmlReader.Depth Property

Gets the depth of the current node in the XML document. The depth of the root element is 0.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Depth As Integer
    Get
'Usage
Dim instance As OpenXmlReader
Dim value As Integer

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

Property Value

Type: System.Int32
Returns Int32.

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace