ListView.SelectedIndexCollection.IList.Contains(Object) Yöntem

Tanım

Belirtilen öğenin koleksiyonda bulunup bulunmadığını belirler.

 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

Parametreler

selectedIndex
Object

Koleksiyonda bulunacak dizin.

Döndürülenler

Boolean

trueiçin öğesinden ListView.ListViewItemCollection belirtilen dizin koleksiyondaki bir öğeyse; değilse, false.ListView

Uygulamalar

Şunlara uygulanır