## ICollection::Contains method


Prüft, ob ein Element in der Sammlung vorhanden ist.

```cpp
virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Element | const T\& | Zu suchendes Element. |

### ReturnValue

Wahr, wenn das Element vorhanden ist, sonst falsch.

## Siehe auch

* Class [ICollection](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
