DataRowCollection.IndexOf(DataRow) Método

Definición

Obtiene el índice del objeto DataRow especificado.

public:
 int IndexOf(System::Data::DataRow ^ row);
public int IndexOf (System.Data.DataRow? row);
public int IndexOf (System.Data.DataRow row);
member this.IndexOf : System.Data.DataRow -> int
Public Function IndexOf (row As DataRow) As Integer

Parámetros

row
DataRow

DataRow que se va a buscar.

Devoluciones

Índice de base cero de la fila, o -1 si la fila no se encuentra en la colección.

Se aplica a