Редагувати

Поділитися через


DataRowCollection.IndexOf(DataRow) Method

Definition

Gets the index of the specified DataRow object.

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

Parameters

row
DataRow

The DataRow to search for.

Returns

The zero-based index of the row, or -1 if the row is not found in the collection.

Applies to