ImmutableSortedDictionary<TKey,TValue>.Contains(KeyValuePair<TKey,TValue>) Método

Definición

Determina si el diccionario ordenado inmutable contiene el par de clave-valor especificado.Determines whether this immutable sorted 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

Parámetros

pair
KeyValuePair<TKey,TValue>

Par clave-valor que se va a localizar.The key/value pair to locate.

Devoluciones

true si el par clave-valor especificado se encuentra en el diccionario; de lo contrario, false.true if the specified key/value pair is found in the dictionary; otherwise, false.

Implementaciones

Se aplica a