System::Collections::Generic::Stack::Contains 方法
Stack::Contains method
检查容器中是否存在特定项;使用运算符 == 进行比较。
virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 项 | const T& | 要查找的项。 |
ReturnValue
若找到项则为 true,否则为 false。
另见
- Class Stack
- Namespace System::Collections::Generic
- Library Aspose.Font for C++