## XmlDocument::get_DocumentElement method


Retourneert het root [XmlElement](../../xmlelement/) voor het document.

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


### ReturnValue

Het [XmlElement](../../xmlelement/) dat de root van de XML-documentboom vertegenwoordigt. Als er geen root bestaat, wordt **nullptr** geretourneerd.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlElement](../../xmlelement/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
