ComponentOne FlexReport for WinForms
IndexByName Method (DataFieldCollection)

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > DataFieldCollection Class : IndexByName Method
The name of the DataField.
Returns index of the DataField by its name.
Syntax
'Declaration
 
Public Function IndexByName( _
   ByVal name As System.String _
) As System.Integer
public System.int IndexByName( 
   System.string name
)

Parameters

name
The name of the DataField.

Return Value

Index of the DataField with specified name or -1 if not found.
See Also

Reference

DataFieldCollection Class
DataFieldCollection Members