Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / Insert Method
The zero-based index at which item should be inserted.
The object to insert into the ListBase<T>.


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

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The object to insert into the ListBase<T>.
    See Also