## IEnumerable::GetEnumerator method


获取枚举器。

```cpp
virtual SharedPtr<IEnumerator<T>> System::Collections::Generic::IEnumerable<T>::GetEnumerator()=0
```


### ReturnValue

指向新创建的枚举器对象的指针，可用于遍历接口对象。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerator](../../ienumerator/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
