## CollectionBase::GetEnumerator method


返回一个遍历集合实例的枚举器。

```cpp
SharedPtr<Generic::IEnumerator<T>> System::Collections::CollectionBase<T>::GetEnumerator() override
```


### ReturnValue

用于集合实例的 [IEnumerator](../../ienumerator/)。

## 另见

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