## XPathNodeIterator::GetEnumerator method


返回一个 IEnumerator 对象，用于遍历选定的节点集合。

```cpp
SharedPtr<Collections::Generic::IEnumerator<SharedPtr<XPathNavigator>>> System::Xml::XPath::XPathNodeIterator::GetEnumerator() override
```


### ReturnValue

用于遍历所选节点集的 IEnumerator 对象。

## 另见

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