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


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

    Parameters

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