CheckedListBox.CheckedIndexCollection.IList.Contains(Object) Metoda

Definicja

Określa, czy określony indeks znajduje się w obiekcie CheckedListBox.CheckedIndexCollection. Aby uzyskać opis tego elementu członkowskiego, zobacz Contains(Object).

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

Parametry

index
Object

Indeks do zlokalizowania w kolekcji.

Zwraca

Boolean

true jeśli określony indeks z CheckedListBox.ObjectCollection elementu dla CheckedListBox elementu jest elementem w tej kolekcji; w przeciwnym razie false.

Implementuje

Uwagi

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

Dotyczy