[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.ReportItemCollection.IndexOf

IndexOf Method

IndexOf(ReportItem)

Determines the index of a specific ReportItem object in the ReportItemCollection.

Declaration
public virtual int IndexOf(ReportItem value)
Parameters
Type Name Description
ReportItem value

A ReportItem object to locate in the ReportItemCollection.

Returns
Type Description
int

An int value indicating the index of the entry if it was found in the collection; otherwise, -1.

Implements
Examples
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new ReportItem();
int index = collection.IndexOf(item);