ImmutableDictionary<TKey,TValue>.Builder.Contains Metoda

Definice

Určuje, zda neměnný slovník obsahuje konkrétní hodnotu.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public bool Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Contains (item As KeyValuePair(Of TKey, TValue)) As Boolean

Parametry

item
KeyValuePair<TKey,TValue>

Objekt, který se má vyhledat ve slovníku.

Návraty

true pokud item se nachází ve slovníku, jinak hodnota false.

Implementuje

Platí pro