SynchronizedCollection<T>.IList.Contains(Object) Methode

Definition

Bestimmt, ob die Auflistung ein Element mit einem bestimmten Wert enthält.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains(object value);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (value As Object) As Boolean Implements IList.Contains

Parameter

value
Object

Das Objekt, das in der Auflistung gefunden werden soll.

Gibt zurück

true wenn das Element value in der Auflistung gefunden wird; andernfalls false.

Implementiert

Ausnahmen

value ist kein Objekt des Typs, der in der Auflistung enthalten ist.

Gilt für: