## IList::Contains method


Checks if the item is in the list.

```cpp
virtual bool System::Collections::IList::Contains(SharedPtr<System::Object> item) const =0
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | SharedPtr\<System::Object\> | The item to look for. |

### ReturnValue

True if item is found, false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IList](../)
* Namespace [System::Collections](../../)
* Library [Aspose.PUB for C++](../../../)
