System::Collections::ObjectModel::KeyedCollection::Contains Methode

KeyedCollection::Contains method

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

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
ParameterTypBeschreibung
SchlüsselTKeySchlüssel zum Suchen.

ReturnValue

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

Siehe auch