## Stack::Pop method


Gets element from top of the stack.

```cpp
T System::Collections::Generic::Stack<T>::Pop()
```


### ReturnValue

Popped element.

## See Also

* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
