XmlDocument::OwnerDocument Property


Gets the XmlDocument to which the current node belongs.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

property XmlDocument^ OwnerDocument {
	virtual XmlDocument^ get() override;

Property Value

Type: System.Xml::XmlDocument^

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top