Share via


SiteMapNodeCollection.IList.IndexOf(Object) Méthode

Définition

Détermine l'index de l'élément spécifique dans la collection retournée par l'interface IList. Pour obtenir une description de ce membre, consultez IndexOf(Object).

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

Paramètres

value
Object

Objet à rechercher dans IList.

Retours

Int32

Index de la valeur spécifiée dans la liste, s'il existe ; sinon, -1.

Implémente

S’applique à

Voir aussi