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

In This Topic
    IndexOf Method (ReportObjectCollection<TItem>)
    In This Topic
    Gets the index of the element.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As TItem _
    ) As System.Integer
    public System.int IndexOf( 
       TItem item
    )

    Parameters

    item
    The element.

    Return Value

    The zero-based index of element or -1 if element does not exist in the collection.
    See Also