ActiveReports 12
IndexOf Method (ChartSeriesCollection)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > ChartSeriesCollection Class : IndexOf Method
The object to locate in the List. The value can be null for reference types.
Determines the index of a specific ChartSeries object in the ChartSeriesCollection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As ChartSeries _
) As Integer
public int IndexOf( 
   ChartSeries item
)

Parameters

item
The object to locate in the List. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the entire Collection, if found; otherwise, -1.
See Also

Reference

ChartSeriesCollection Class
ChartSeriesCollection Members