Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemCollection Class / Insert Method
The zero-based index at which value should be inserted.
The ListItem item to insert into the collectin.


In This Topic
    Insert Method (ListItemCollection)
    In This Topic
    Inserts an item to the collection at the specified position
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal item As ListItem _
    ) 
    'Usage
     
    
    Dim instance As ListItemCollection
    Dim index As Integer
    Dim item As ListItem
     
    instance.Insert(index, item)
    public void Insert( 
       int index,
       ListItem item
    )

    Parameters

    index
    The zero-based index at which value should be inserted.
    item
    The ListItem item to insert into the collectin.
    See Also