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


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

    Parameters

    item
    Item to locate in collection.

    Return Value

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