XmlDocument.OwnerDocument Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the XmlDocument to which the current node belongs.
public:
 virtual property System::Xml::XmlDocument ^ OwnerDocument { System::Xml::XmlDocument ^ get(); };public override System.Xml.XmlDocument OwnerDocument { get; }public override System.Xml.XmlDocument? OwnerDocument { get; }member this.OwnerDocument : System.Xml.XmlDocumentPublic Overrides ReadOnly Property OwnerDocument As XmlDocumentProperty Value
For XmlDocument nodes (NodeType equals XmlNodeType.Document), this property always returns null.