## KeyedCollection::Contains method


Prüft, ob der Schlüssel im Container vorhanden ist.

```cpp
bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Schlüssel | TKey | Schlüssel zum Suchen. |

### ReturnValue

Wahr, wenn der Schlüssel gefunden wird, sonst falsch.

## Siehe auch

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