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


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

    Parameters

    item
    A SubItem object that need to find index.

    Return Value

    An System.Int32 value indicating the index if the item is found in the collection; otherwise,-1.
    See Also