ReadOnlyDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Contains Método

Definição

Determina se a coleção contém um valor específico.

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

Parâmetros

item
TValue

O objeto a localizar na coleção.

Devoluções

true se item for encontrado na coleção; caso contrário, false.

Implementações

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ReadOnlyDictionary<TKey,TValue>.ValueCollection instância é transmitida para uma ICollection<T> interface.

Aplica-se a