FlexReport for WPF | ComponentOne
C1.WPF.FlexReport.4.6.2 Assembly / C1.WPF.FlexReport Namespace / DataFieldCollection Class / IndexByName Method
The name of the DataField.

In This Topic
    IndexByName Method (DataFieldCollection)
    In This Topic
    Returns index of the DataField by its name.
    Syntax
    'Declaration
     
    Public Function IndexByName( _
       ByVal name As String _
    ) As Integer
    public int IndexByName( 
       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