次の方法で共有


XmlReader.Depth プロパティ

派生クラスでオーバーライドされると、XML ドキュメント内の現在のノードの深さを取得します。

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;

プロパティ値

XML ドキュメント内の現在のノードの深さ。

使用例

このプロパティの使用例については、 Depth (XmlTextReader クラス) のトピックを参照してください。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

XmlReader クラス | XmlReader メンバ | System.Xml 名前空間