get_OwnerDocument()

XmlDocument::get_OwnerDocument() method

Returns the XmlDocument to which the current node belongs.

SharedPtr<XmlDocument> System::Xml::XmlDocument::get_OwnerDocument() override

Return Value

For XmlDocument nodes (XmlDocument::get_NodeType equals XmlNodeType::Document), this method always returns nullptr.

See Also