ListBox.IntegerCollection.IList.Contains(Object) Methode

Definition

Bestimmt, ob sich der angegebene Tabstopp in der Auflistung befindet.

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

Parameter

item
Object

Der Tabstopp, nach dem gesucht werden soll.ListBox.IntegerCollection

Gibt zurück

truewenn das Element eine ganze Zahl ist, die sich in der IntegerCollection befindet; andernfalls . false

Implementiert

Hinweise

Dieses Element ist eine explizite Schnittstellenmitgliedsimplementierung. Sie kann nur verwendet werden, wenn die ListBox.IntegerCollection Instanz in eine IList Schnittstelle umgegossen wird.

Gilt für: