Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / BarSeriesCollection Class / IndexOf Method
Series to locate in collection.


In This Topic
    IndexOf Method (BarSeriesCollection)
    In This Topic
    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