ListView.SelectedIndexCollection.IList.Contains(Object) Metoda

Definicja

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

 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

Indeks do zlokalizowania w kolekcji.

Zwraca

Boolean

truejeśli określony indeks z ListView.ListViewItemCollection elementu dla ListView elementu jest elementem w kolekcji; w przeciwnym razie . false

Implementuje

Dotyczy