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


In This Topic
    Insert Method (SubItemCollection)
    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 SubItem _
    ) 
    'Usage
     
    
    Dim instance As SubItemCollection
    Dim index As Integer
    Dim item As SubItem
     
    instance.Insert(index, item)
    public void Insert( 
       int index,
       SubItem item
    )

    Parameters

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