## Stack::Contains method


Checks if specific item is present in container; uses operator == for comparison.

```cpp
virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | Item to look for. |

### ReturnValue

True if item is found, false otherwise.

## See Also

* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
