SynchronizedKeyedCollection<K,T>.Contains(K) 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.
Retourne une valeur indiquant si la collection contient un élément avec une clé spécifiée.
public:
bool Contains(K key);
public bool Contains (K key);
override this.Contains : 'K -> bool
Public Function Contains (key As K) As Boolean
Paramètres
- key
- K
Clé de type K qui est testée.
Retours
true si la collection contient un élément avec la clé spécifiée ; sinon, false.