ConcurrentDictionary<TKey,TValue>.IDictionary.Contains(Object) Methode

Definition

Ruft einen Wert ab, der angibt, dass ein IDictionary<TKey,TValue> Element mit dem angegebenen Schlüssel enthält.

 virtual bool System.Collections.IDictionary.Contains(System::Object ^ key) = System::Collections::IDictionary::Contains;
bool IDictionary.Contains(object key);
abstract member System.Collections.IDictionary.Contains : obj -> bool
override this.System.Collections.IDictionary.Contains : obj -> bool
Function Contains (key As Object) As Boolean Implements IDictionary.Contains

Parameter

key
Object

Der Schlüssel, der in der IDictionary<TKey,TValue>Datei gefunden werden soll.

Gibt zurück

true wenn das IDictionary<TKey,TValue> Element mit dem angegebenen Schlüssel enthält; andernfalls false.

Implementiert

Ausnahmen

key ist null.

Gilt für:

Weitere Informationen