## Collection::Contains method


Checks if item is present in collection.

```cpp
bool System::Collections::ObjectModel::Collection<T>::Contains(const T &item) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | to look for. |

### ReturnValue

True if item is present, false otherwise.

## See Also

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.Page for C++](../../../)
