Share via


XmlReader.Depth Property

Gets the depth of the current node in the XML element stack.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual abstract int Depth { get; }

Property Value

The depth of the current node in the XML element stack.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace