Spread Windows Forms 12.0 Product Documentation
IndexOf Method (SpreadChartCollection)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChartCollection Class : IndexOf Method
The FpChart to locate in the FpChartCollection.
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)
public int IndexOf( 
   SpreadChart 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

Reference

SpreadChartCollection Class
SpreadChartCollection Members