[]
        
(Showing Draft Content)

C1.DataCollection.C1WrapDataCollection-2.InsertRangeAsync

InsertRangeAsync Method

InsertRangeAsync(int, IEnumerable<S>, CancellationToken)

Inserts the specified items at the specified startingIndex in the collection.

Declaration
public virtual Task<int> InsertRangeAsync(int startingIndex, IEnumerable<S> items, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int startingIndex

The index where the item will be inserted.

IEnumerable<S> items

The items to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Implements