ActiveReports 12
IndexOf Method (ReportItemCollection)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > ReportItemCollection Class : IndexOf Method

The ReportItem object to locate in the ReportItemCollection.

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

Reference

ReportItemCollection Class
ReportItemCollection Members