ActiveReports 12
IndexOf Method (LegendsCollection)

GrapeCity.ActiveReports.Chart.v12 Assembly > GrapeCity.ActiveReports.Chart Namespace > LegendsCollection Class : IndexOf Method
The object to locate in the collection.
Returns the index of the first occurrence of a value in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As Legend _
) As Integer
public int IndexOf( 
   Legend value
)

Parameters

value
The object to locate in the collection.

Return Value

The index of the first occurrence of the value within the entire array, if found; otherwise, the lower bound of the array - 1.
See Also

Reference

LegendsCollection Class
LegendsCollection Members