System::Collections::Generic::Stack::Push 方法

Stack::Push method

把元素压入栈顶。

void System::Collections::Generic::Stack<T>::Push(const T &item)
ParameterType描述
itemconst T&要推入堆栈的元素。

另见