Share via


TableRowCollection.IList.IndexOf(Object) Méthode

Définition

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

Object à rechercher dans TableRowCollection.

Retours

Index de value s'il figure dans la liste ; sinon, -1.

Implémente

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de TableRowCollection est castée en interface IList. Utilisez plutôt la méthode de type sécurisé IndexOf.

S’applique à