Returns the zero-based index of a given row in the collection.
'Declaration
Public Function IndexOf( _
ByVal As DataItem _
) As System.Integer
public System.int IndexOf(
DataItem
)
Parameters
- row
- The row to locate in the collection.
Return Value
The zero-based index of the row, if found; otherwise, -1.