System::Xml::XmlDocument::get_DocumentElement method

XmlDocument::get_DocumentElement method

Returns the root XmlElement for the document.

SharedPtr<XmlElement> System::Xml::XmlDocument::get_DocumentElement()

ReturnValue

The XmlElement that represents the root of the XML document tree. If no root exists, nullptr is returned.

See Also