Spread Windows Forms 14.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CollectionBase<T> Class / Insert Method
The zero-based index where the specified object should be inserted.
The T to insert.


In This Topic
    Insert Method (CollectionBase<T>)
    In This Topic
    Inserts the specified T into the collection at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal value As T _
    ) 
    'Usage
     
    
    Dim instance As CollectionBase(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Insert(index, value)
    public void Insert( 
       int index,
       T value
    )

    Parameters

    index
    The zero-based index where the specified object should be inserted.
    value
    The T to insert.
    See Also