Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SubItemCollectionInfo Class / IndexOf Method
The SubItemInfo object to get the index for.


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

    Parameters

    item
    The SubItemInfo object to get the index for.

    Return Value

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