Share via


ModelItemCollection.IList.Contains(Object) Methode

Definition

Bestimmt, ob die ModelItemCollection das angegebene Element 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 im ModelItemCollection zu suchende Objekt.

Gibt zurück

Boolean

true, wenn ModelItemCollection ein Element mit dem angegebenen Wert enthält, andernfalls false.

Implementiert

Ausnahmen

value ist null.

Gilt für