Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpScrollBarButtonCollection Class / IndexOf Method
The System.Object to locate in the System.Collections.IList


In This Topic
    IndexOf Method (FpScrollBarButtonCollection)
    In This Topic
    Determines the index of a specific item in the System.Collections.IList.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    
    Dim instance As FpScrollBarButtonCollection
    Dim value As Object
    Dim value As Integer
     
    value = instance.IndexOf(value)
    public int IndexOf( 
       object value
    )

    Parameters

    value
    The System.Object to locate in the System.Collections.IList

    Return Value

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