ConcurrentDictionary<TKey,TValue>.IDictionary.Contains(Object) Método

Definição

Obtém um valor que indica que IDictionary<TKey,TValue> contém um elemento com a chave especificada.

 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

Parâmetros

key
Object

A chave a ser localizada no IDictionary<TKey,TValue>.

Retornos

true se o IDictionary<TKey,TValue> contiver um elemento com a chave especificada; caso contrário, false.

Implementações

Exceções

key é null.

Aplica-se a

Confira também