## Stack::Clear method


删除栈中的所有元素。

```cpp
virtual void System::Collections::Generic::Stack<T>::Clear()
```

## 另见

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