CheckedListBox.CheckedIndexCollection.IList.Contains(Object) Metoda

Definice

Určuje, zda je zadaný index umístěn v souboru CheckedListBox.CheckedIndexCollection. Popis tohoto člena najdete v tématu 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

Index, který chcete vyhledat v kolekci.

Návraty

Boolean

trueje-li zadaný index z CheckedListBox.ObjectCollection položky CheckedListBox v této kolekci; jinak . false

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze ho CheckedListBox.CheckedIndexCollection použít pouze v případě, že je instance přetypována do IList rozhraní.

Platí pro