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

Definition

Bestimmt, ob die Auflistung 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 in der Auflistung gefunden werden soll.

Gibt zurück

true wenn item in der Auflistung gefunden wird; andernfalls false.

Implementiert

Hinweise

Dieses Element ist eine explizite Schnittstellenmitgliedsimplementierung. Sie kann nur verwendet werden, wenn die ReadOnlyDictionary<TKey,TValue>.ValueCollection Instanz in eine ICollection<T> Schnittstelle umgegossen wird.

Gilt für: