Share via


Depth Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, gets the depth of the current node in the XML document.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Depth As Integer
public virtual int Depth { get; }
public:
virtual property int Depth {
    int get ();
}
abstract Depth : int with get
override Depth : int with get
function get Depth () : int

Property Value

Type: System. . :: . .Int32
The depth of the current node in the XML document.

.NET Framework Security

See Also

Reference

XmlReader Class

System.Xml Namespace