## XmlElement::get_OwnerDocument method


Returns the [XmlDocument](../../xmldocument/) to which this node belongs.

```cpp
SharedPtr<XmlDocument> System::Xml::XmlElement::get_OwnerDocument() override
```


### ReturnValue

The [XmlDocument](../../xmldocument/) to which this element belongs.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlDocument](../../xmldocument/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
