[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Document.PagesCollection-1.IndexOf

IndexOf Method

IndexOf(object)

Gets the index of a specific item in the IList.

Declaration
public int IndexOf(object value)
Parameters
Type Name Description
object value

The object to locate in the IList.

Returns
Type Description
int

The index of value if found in the list; otherwise, -1.

Implements

IndexOf(T)

Returns the zero-based index of the first occurrence of the page object in the pages collection.

Declaration
public int IndexOf(T value)
Parameters
Type Name Description
T value

An object to search for in the collection.

Returns
Type Description
int

Index (zero-based) of the first occurrence of the item if it is found in the collection; otherwise -1.