Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemCollection Class / Add Method / Add(ListItem) Method
The Object to add into the collection.


In This Topic
    Add(ListItem) Method
    In This Topic
    Add an item to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal item As ListItem _
    ) As Integer
    'Usage
     
    
    Dim instance As ListItemCollection
    Dim item As ListItem
    Dim value As Integer
     
    value = instance.Add(item)
    public int Add( 
       ListItem item
    )

    Parameters

    item
    The Object to add into the collection.

    Return Value

    The index of the added item.
    See Also