Spread for ASP.NET 11 Product Documentation
IndexOf Method (SpreadChartCollection)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Chart Namespace > SpreadChartCollection Class : IndexOf Method
The SpreadChart to locate in the SpreadChartCollection.
Determines the index of a specific chart in the SpreadChartCollection.
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 SpreadChart to locate in the SpreadChartCollection.

Return Value

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

Reference

SpreadChartCollection Class
SpreadChartCollection Members