System::Collections::Generic::Queue::Contains 方法
Queue::Contains method
使用运算符 == 比较元素,检查队列是否包含特定元素。
virtual bool System::Collections::Generic::Queue<T>::Contains(const T &item) const
| Parameter | Type | 描述 |
|---|---|---|
| item | const T& | 要查找的项。 |
ReturnValue
如果项目存在则返回 true,否则返回 false。
另见
- Class Queue
- Namespace System::Collections::Generic
- Library Aspose.Page for C++