get_DocumentElement()

XmlDocument::get_DocumentElement() method

Returns the root XmlElement for the document.

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

Return Value

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

See Also