Teilen über


OrderedDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Contains Methode

Definition

Bestimmt, ob die ICollection<T> einen bestimmten Wert enthält.

 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

Parameter

item
TValue

Das Objekt, das im ICollection<T>gefunden werden soll.

Gibt zurück

true, wenn item im ICollection<T>gefunden wird; andernfalls false.

Implementiert

Gilt für: