ListViewItem.ListViewSubItemCollection.IList.IndexOf(Object) Méthode

Définition

Retourne l’index dans la collection du sous-élément spécifié.

 virtual int System.Collections.IList.IndexOf(System::Object ^ subItem) = System::Collections::IList::IndexOf;
int IList.IndexOf(object subItem);
int IList.IndexOf(object? subItem);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (subItem As Object) As Integer Implements IList.IndexOf

Paramètres

subItem
Object

Objet qui représente le sous-élément à localiser dans la collection.

Retours

Index de base zéro du sous-élément s’il se trouve dans la collection ; sinon, -1.

Implémente

S’applique à