## XPathDocument::CreateNavigator method


初始化一个只读的 [XPathNavigator](../../xpathnavigator/) 对象，用于遍历此 [XPathDocument](../) 中的节点。

```cpp
SharedPtr<XPathNavigator> System::Xml::XPath::XPathDocument::CreateNavigator() override
```


### ReturnValue

一个只读的 [XPathNavigator](../../xpathnavigator/) 对象。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../../xpathnavigator/)
* Class [XPathDocument](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Font for C++](../../../)
