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

Definition

Bestimmt, ob dieses unveränderlich sortierte Wörterbuch das angegebene Schlüssel-Wert-Paar enthält.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

Parameter

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

Das Schlüssel-Wert-Paar, das gesucht werden soll.The key/value pair to locate.

Gibt zurück

true, wenn das angegebene Schlüssel-Wert-Paar im Wörterbuch gefunden wird, andernfalls false.true if the specified key/value pair is found in the dictionary; otherwise, false.

Implementiert

Gilt für: