## ReadOnlyCollection::Contains method


Checks if container contains specific item.

```cpp
virtual bool System::Collections::ObjectModel::ReadOnlyCollection<T>::Contains(const T &item) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | Item to look for. |

### ReturnValue

true if item is found, false otherwise.

## See Also

* Class [ReadOnlyCollection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.PDF for C++](../../../)
