OrderedDictionary<TKey,TValue>.IDictionary.Contains(Object) Metod

Definition

Avgör om objektet IDictionary innehåller ett element med den angivna nyckeln.

 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

Parametrar

key
Object

Nyckeln som ska hittas IDictionary i objektet.

Returer

true IDictionary om innehåller ett element med nyckeln, annars . false

Implementeringar

Gäller för