## Stack::GetEnumerator method


Gets enumerator to iterate through current stack.

```cpp
IEnumeratorPtr System::Collections::Generic::Stack<T>::GetEnumerator() override
```


### ReturnValue

Newly created enumerator to iterate through current stack.

## See Also

* Typedef [IEnumeratorPtr](../ienumeratorptr/)
* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
