## XmlNode::get_OwnerDocument method


このノードが属する [XmlDocument](../../xmldocument/) を返します。

```cpp
virtual SharedPtr<XmlDocument> System::Xml::XmlNode::get_OwnerDocument()
```


### ReturnValue

このノードが属する [XmlDocument](../../xmldocument/) です。ノードが [XmlDocument](../../xmldocument/)（NodeType が [XmlNodeType::Document](../../xmlnodetype/) と等しい）場合、このメソッドは **nullptr** を返します。

## 参照

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