ComponentOne DataObjects for .NET
IndexOf Method (FieldCalculationCollection)

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

Parameters

calculation
The object to locate in the collection.

Return Value

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

Reference

FieldCalculationCollection Class
FieldCalculationCollection Members