## Queue::Contains method


Checks if queue contains specific element using operator == to compare elements.

```cpp
virtual bool System::Collections::Generic::Queue<T>::Contains(const T &item) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | Item to look for. |

### ReturnValue

True if item is present, false otherwise.

## See Also

* Class [Queue](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
