Spread Windows Forms 12.0 Product Documentation
IndexOf Method (BarSeriesCollection)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > BarSeriesCollection 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 BarSeries _
) As Integer
'Usage
 
Dim instance As BarSeriesCollection
Dim item As BarSeries
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   BarSeries 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

BarSeriesCollection Class
BarSeriesCollection Members