ImmutableSortedDictionary<TKey,TValue>.Contains Metod

Definition

Avgör om den här oföränderliga sorterade ordlistan innehåller det angivna nyckel/värde-paret.

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

Parametrar

pair
KeyValuePair<TKey,TValue>

Nyckel/värde-paret som ska hittas.

Returer

trueom det angivna nyckel/värde-paret finns i ordlistan; annars . false

Implementeringar

Gäller för