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


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

    Parameters

    item
    The object to add into the collection.

    Return Value

    The index of the added item.
    See Also