Gets the parent of this node (for nodes that can have parents).
[Visual Basic] Overridable Public ReadOnly Property ParentNode As XmlNode [C#] public XmlNode ParentNode {override get;} [C++] public: __property virtual XmlNode* get_ParentNode(); [JScript] public function get ParentNode() : XmlNode;
The XmlNode of this node's parent.
The value returned depends on the NodeType of the node. For XmlDocumentFragment, this property is null.
XmlDocumentFragment Class | XmlDocumentFragment Members | System.NewXml Namespace