ListBox.IntegerCollection.IList.Contains(Object) Metoda

Definicja

Określa, czy określony tabulator znajduje się w kolekcji.

 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

Parametry

item
Object

Karta zatrzymana w celu zlokalizowania elementu w elemecie ListBox.IntegerCollection.

Zwraca

true jeśli element jest liczbą całkowitą znajdującą się w kolekcji IntegerCollection; w przeciwnym razie , false.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ListBox.IntegerCollection wystąpienie jest rzutowe do interfejsu IList .

Dotyczy