Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpStatusBarElementCollection Class / IndexOf Method
The value to locate in the collection.


In This Topic
    IndexOf Method (FpStatusBarElementCollection)
    In This Topic
    Determines the index of the value in the collection.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As IFpStatusBarElement _
    ) As Integer
    'Usage
     
    
    Dim instance As FpStatusBarElementCollection
    Dim item As IFpStatusBarElement
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       IFpStatusBarElement item
    )

    Parameters

    item
    The value to locate in the collection.

    Return Value

    Index of the string value if string value is found in the collection; otherwise, -1.
    See Also