ActiveReports 8
IndexOf Method (LegendItemsCollection)

The object to locate in the array.
Returns the index of the first occurrence of a value in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As LegendItem _
) As System.Integer
public System.int IndexOf( 
   LegendItem value
)

Parameters

value
The object to locate in the array.

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

LegendItemsCollection Class
LegendItemsCollection Members

Support Forum