ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey,TValue>) Método

Definição

Determina se o ICollection<T> contém um elemento com a chave especificada.Gets whether the ICollection<T> contains an element with the specified key.

 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);
Function Contains (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains

Parâmetros

keyValuePair
KeyValuePair<TKey,TValue>

A chave a ser localizada no ICollection<T>.The key to locate in the ICollection<T>.

Retornos

true se o ICollection<T> contiver um elemento com a chave especificada; caso contrário, false.true if the ICollection<T> contains an element with the specified key; otherwise, false.

Implementações

Aplica-se a

Veja também