ListView.SelectedIndexCollection.IList.Contains(Object) Méthode

Définition

Détermine si l'élément spécifié se trouve dans la collection.

 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

Paramètres

selectedIndex
Object

Index à localiser dans la collection.

Retours

Boolean

true si l'index spécifié de ListView.ListViewItemCollection pour ListView est un élément de la collection ; sinon false.

Implémente

S’applique à