## Stack::Push method


把元素压入栈顶。

```cpp
void System::Collections::Generic::Stack<T>::Push(const T &item)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| item | const T\& | 要推入堆栈的元素。 |

## 另见

* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
