Partager via


OrderedDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Contains Méthode

Définition

Détermine si le ICollection<T> contient une valeur spécifique.

 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

Paramètres

item
TValue

Objet à localiser dans le ICollection<T>.

Retours

true si item se trouve dans le ICollection<T>; sinon, false.

Implémente

S’applique à