Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / InsertRange Method
The zero-based index at which the new elements should be inserted.
The collection whose elements should be inserted into the ListBase<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.


In This Topic
    InsertRange Method (ListBase<T>)
    In This Topic
    Inserts the elements of a collection into the ListBase<T> at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub InsertRange( _
       ByVal index As Integer, _
       ByVal collection As IEnumerable(Of T) _
    ) 
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim index As Integer
    Dim collection As IEnumerable(Of T)
     
    instance.InsertRange(index, collection)
    public void InsertRange( 
       int index,
       IEnumerable<T> collection
    )

    Parameters

    index
    The zero-based index at which the new elements should be inserted.
    collection
    The collection whose elements should be inserted into the ListBase<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
    See Also