2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / AxisScrollBar.ScaleMenuItemCollection Class / IndexOf Method
The AxisScrollBar.ScaleMenuItem object to locate in the collection.

In This Topic
    IndexOf Method (AxisScrollBar.ScaleMenuItemCollection)
    In This Topic
    Determines the index of a specific item in the collection.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal smi As AxisScrollBar.ScaleMenuItem _
    ) As System.Integer
    public System.int IndexOf( 
       AxisScrollBar.ScaleMenuItem smi
    )

    Parameters

    smi
    The AxisScrollBar.ScaleMenuItem object to locate in the collection.

    Return Value

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