ImmutableDictionary<TKey,TValue>.Contains(KeyValuePair<TKey,TValue>) ImmutableDictionary<TKey,TValue>.Contains(KeyValuePair<TKey,TValue>) ImmutableDictionary<TKey,TValue>.Contains(KeyValuePair<TKey,TValue>) ImmutableDictionary<TKey,TValue>.Contains(KeyValuePair<TKey,TValue>) Method

Definizione

Determina se questo dizionario non modificabile contiene la coppia chiave/valore specificata.Determines whether this immutable dictionary contains the specified key/value pair.

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

Parametri

pair
KeyValuePair<TKey,TValue> KeyValuePair<TKey,TValue> KeyValuePair<TKey,TValue> KeyValuePair<TKey,TValue>

Coppia chiave/valore da individuare.The key/value pair to locate.

Restituisce

true se la coppia chiave/valore specificata viene trovata nel dizionario; in caso contrario, false.true if the specified key/value pair is found in the dictionary; otherwise, false.

Implementazioni

Si applica a