XmlDocument.OwnerDocument Property

Definition

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.XmlDocument
Public Overrides ReadOnly Property OwnerDocument As XmlDocument

Property Value

For XmlDocument nodes (NodeType equals XmlNodeType.Document), this property always returns null.

Applies to