Gets the XmlDocument that contains this node.
[Visual Basic] Overridable Public ReadOnly Property OwnerDocument As XmlDocument [C#] public XmlDocument OwnerDocument {virtual get;} [C++] public: __property virtual XmlDocument* get_OwnerDocument(); [JScript] public function get OwnerDocument() : XmlDocument;
An XmlDocument.
If the node is an XmlDocument (NodeType equals XmlNodeType.Document), this property is null.
When adding nodes to the current node, use the XmlDocument returned by the OwnerDocument property to create the node.