ListView.SelectedIndexCollection.IList.Contains(Object) Metoda

Definice

Určuje, zda je zadaná položka umístěna v kolekci.

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

Parametry

selectedIndex
Object

Index, který se má v kolekci najít.

Návraty

Boolean

true pokud zadaný index z objektu ListView.ListViewItemCollection for ListView je položka v kolekci; v opačném případě false.

Implementuje

Platí pro