ILookup<TKey,TElement>.Contains(TKey) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si une clé spécifiée existe dans ILookup<TKey,TElement>.
public:
bool Contains(TKey key);
public bool Contains (TKey key);
abstract member Contains : 'Key -> bool
Public Function Contains (key As TKey) As Boolean
Paramètres
- key
- TKey
Clé à rechercher dans ILookup<TKey,TElement>.
Retours
true si key se trouve dans ILookup<TKey,TElement> ; sinon false.