When overridden in a derived class, gets the depth of the current node in the XML document.
[Visual Basic]
Public MustOverride ReadOnly Property Depth As Integer
[C#]
public abstract int Depth {get;}
[C++]
public: __property virtual int get_Depth() = 0;
[JScript]
public abstract function get Depth() : int; Property Value
The depth of the current node in the XML document.
Example
See Depth (in the XmlTextReader class) for an example using this property.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
XmlReader Class | XmlReader Members | System.Xml Namespace