ComponentOne DataObjects for .NET
IndexOf Method (C1DataView)

C1.Data.2 Assembly > C1.Data Namespace > C1DataView Class : IndexOf Method
The row to locate in the collection.
Returns the zero-based index of a given row in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal row As DataItem _
) As System.Integer
public System.int IndexOf( 
   DataItem row
)

Parameters

row
The row to locate in the collection.

Return Value

The zero-based index of the row, if found; otherwise, -1.
See Also

Reference

C1DataView Class
C1DataView Members