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