Spread Windows Forms 11.0 Product Documentation
IndexOf Method (SeriesCollection)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > SeriesCollection Class : IndexOf Method
Series to locate in collection.
Determines the index of the series in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As Series _
) As Integer
'Usage
 
Dim instance As SeriesCollection
Dim item As Series
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   Series item
)

Parameters

item
Series to locate in collection.

Return Value

Index of the series if series is found in the collection; otherwise, -1.
See Also

Reference

SeriesCollection Class
SeriesCollection Members