Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / SpreadChartCollection Class / IndexOf Method
The FpChart to locate in the FpChartCollection.


In This Topic
IndexOf Method (SpreadChartCollection)
In This Topic
Determines the index of a specific chart in the FpChartCollection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal chart As SpreadChart _
) As Integer
 
'Usage
 
Dim instance As SpreadChartCollection
Dim chart As SpreadChart
Dim value As Integer
 
value = instance.IndexOf(chart)

Parameters

chart
The FpChart to locate in the FpChartCollection.

Return Value

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