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


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

    Parameters

    item
    A SubItem object that need to find the index.

    Return Value

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