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

Définition

Détermine si la ICollection<T> valeur 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 s’il item est trouvé dans le ICollection<T>; sinon, false.

Implémente

S’applique à