FlexReport for .NET | ComponentOne
C1.WPF.FlexReport.4.6.2 Assembly / C1.WPF.FlexReport Namespace / DataSourceCollection Class / IndexByName Method
The name of element.

In This Topic
    IndexByName Method (DataSourceCollection)
    In This Topic
    Gets the index of the element by its name.
    Syntax
    'Declaration
     
    Public Function IndexByName( _
       ByVal name As String _
    ) As Integer
    public int IndexByName( 
       string name
    )

    Parameters

    name
    The name of element.

    Return Value

    The zero-based index of element with specified name or -1 if name not specified.
    See Also