このノードの親を取得します。 XmlAttribute ノードの場合、このプロパティは常に null 参照 (Visual Basic では Nothing) を返します。
Overrides Public ReadOnly Property ParentNode As XmlNode
[C#]
public override XmlNode ParentNode {get;}
[C++]
public: __property XmlNode* get_ParentNode();
[JScript]
public override function get ParentNode() : XmlNode;
プロパティ値
XmlAttribute ノードの場合、このプロパティは常に null 参照 (Visual Basic では Nothing) を返します。
解説
属性が属する XmlElement を取得するには、 OwnerElement プロパティを使用します。
必要条件
プラットフォーム: 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