ActiveReports 8
IndexOf Method
See Also 
GrapeCity.ActiveReports.Chart.v8 Assembly > GrapeCity.ActiveReports.Chart Namespace > LabelsCollection Class : IndexOf Method

value
The label to locate in the collection.

Glossary Item Box

Returns the index of the first occurrence of a label in the collection.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal value As System.String _
) As System.Integer
C# 
public System.int IndexOf( 
   System.string value
)

Parameters

value
The label 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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also