ImmutableDictionary<TKey,TValue>.Contains Méthode

Définition

Détermine si ce dictionnaire immuable contient la paire clé/valeur spécifiée.

C#
public bool Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> pair);

Paramètres

pair
KeyValuePair<TKey,TValue>

Paire clé/valeur à rechercher.

Retours

true si la paire clé/valeur spécifiée est trouvée dans le dictionnaire ; sinon, false.

Implémente

S’applique à

Produit Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
UWP 10.0