ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ReportItemCollection Class / IndexOf Method
The ReportItem object to locate in the ReportItemCollection.

In This Topic
    IndexOf Method (ReportItemCollection)
    In This Topic
    Determines the index of a specific ReportItem object in the ReportItemCollection.
    Syntax
    'Declaration
     
    Public Overridable Function IndexOf( _
       ByVal value As ReportItem _
    ) As Integer
    public virtual int IndexOf( 
       ReportItem value
    )

    Parameters

    value
    The ReportItem object to locate in the ReportItemCollection.

    Return Value

    The index of the entry if it was found in the collection; otherwise, -1.
    See Also