[]
        
(Showing Draft Content)

C1.DataCollection.C1LengthList-1.InsertRange

InsertRange Method

InsertRange(int, IEnumerable<T>)

Inserts the specified newItems at the startingIndex.

Declaration
public void InsertRange(int startingIndex, IEnumerable<T> newItems)
Public Sub InsertRange(startingIndex As Integer, newItems As IEnumerable(Of T))
Parameters
Type Name Description
int startingIndex

The index where the items will be inserted.

IEnumerable<T> newItems

The values to be inserted.

InsertRange(int, int)

Inserts the specified count of default length items at the specified startingIndex.

Declaration
public void InsertRange(int startingIndex, int count)
Public Sub InsertRange(startingIndex As Integer, count As Integer)
Parameters
Type Name Description
int startingIndex

The index where the items will be inserted.

int count

The number of items to be inserted.