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


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