Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SubItemCollection Class / IndexOf Method
An SubItem object that need to find index.


In This Topic
    IndexOf Method (SubItemCollection)
    In This Topic
    Gets the index of the item.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As SubItem _
    ) As Integer
    'Usage
     
    
    Dim instance As SubItemCollection
    Dim item As SubItem
    Dim value As Integer
     
    value = instance.IndexOf(item)
    public int IndexOf( 
       SubItem item
    )

    Parameters

    item
    An SubItem object that need to find index.

    Return Value

    The index if the item is found in the collection; otherwise,-1.
    See Also