ComponentOne DataObjects for .NET
IndexOf(String) Method

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressFieldCollection Class > IndexOf Method : IndexOf(String) Method
The C1ExpressField.Name of the element. The search is not case-sensitive.
Returns the zero-based index of the field with a given name in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal name As System.String _
) As System.Integer
public System.int IndexOf( 
   System.string name
)

Parameters

name
The C1ExpressField.Name of the element. The search is not case-sensitive.

Return Value

The zero-based index of the field with a given name, if found; otherwise, -1.
See Also

Reference

C1ExpressFieldCollection Class
C1ExpressFieldCollection Members
Overload List