SortedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Contains Methode

Definition

Bestimmt, ob der ICollection<T> Wert einen bestimmten Schlüssel und einen bestimmten Wert enthält.

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

Parameter

keyValuePair
KeyValuePair<TKey,TValue>

Die KeyValuePair<TKey,TValue> Struktur, die in der ICollection<T>Datei gefunden werden soll.

Gibt zurück

true if keyValuePair is found in the ICollection<T>; otherwise, false.

Implementiert

Gilt für:

Weitere Informationen