get_OwnerDocument()

XmlNode::get_OwnerDocument() method

Returns the XmlDocument to which this node belongs.

virtual SharedPtr<XmlDocument> System::Xml::XmlNode::get_OwnerDocument()

Return Value

The XmlDocument to which this node belongs. If the node is an XmlDocument (NodeType equals XmlNodeType::Document), this method returns nullptr.

See Also