[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.PageCollection.IndexOf

IndexOf Method

IndexOf(Page)

Determines the index of a specific Page object in the PageCollection.

Declaration
public int IndexOf(Page item)
Parameters
Type Name Description
Page item

A Page object to locate in the PageCollection.

Returns
Type Description
int

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

Implements
Examples
PageCollection collection = new PageCollection();
Page page = new Page();
int index = collection.IndexOf(page);