System::Collections::ObjectModel::KeyedCollection::Contains metodo

KeyedCollection::Contains method

Verifica se la chiave è presente nel contenitore.

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
ParametroTipoDescrizione
chiaveTKeyChiave da cercare.

ReturnValue

Vero se la chiave è trovata, falso altrimenti.

Vedi anche