ComponentOne DataObjects for .NET
IndexOf(C1ExpressField) Method

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressFieldCollection Class > IndexOf Method : IndexOf(C1ExpressField) Method
The field to locate in the collection.
Returns the zero-based index of the field in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal field As C1ExpressField _
) As System.Integer
public System.int IndexOf( 
   C1ExpressField field
)

Parameters

field
The field to locate in the collection.

Return Value

The zero-based index of an element, if found; otherwise, -1.
See Also

Reference

C1ExpressFieldCollection Class
C1ExpressFieldCollection Members
Overload List