The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlNode::OwnerDocument Property
.NET Framework (current version)
Gets the XmlDocument to which this node belongs.
Assembly: System.Xml (in System.Xml.dll)
Property Value
Type: System.Xml::XmlDocument^The XmlDocument to which this node belongs.
If the node is an XmlDocument (NodeType equals XmlNodeType.Document), this property returns null.
When adding nodes to the current node, use the XmlDocument returned by the OwnerDocument property to create the node.
See OwnerDocument (in the XmlElement class) for an example using this property.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: