ComponentOne FlexReport for WinForms
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / ReportObjectCollection<TItem> Class / IndexByName Method
The name of element.

In This Topic
    IndexByName Method (ReportObjectCollection<TItem>)
    In This Topic
    Gets the index of the element by its name.
    Public Function IndexByName( _
       ByVal name As System.String _
    ) As System.Integer
    public IndexByName( 
       System.string name


    The name of element.

    Return Value

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