## XmlNode::CreateNavigator method


创建用于遍历此对象的 XPathNavigator。

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


### ReturnValue

用于导航节点的 XPathNavigator 对象。XPathNavigator 位于调用该方法的节点上，而不是位于文档的根节点。

## 另见

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