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


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

    Parameters

    item
    An SubItem object that need to find the index.

    Return Value

    An System.Int32 value if the object is found out in the collection; otherwise,-1.
    See Also