[]
        
(Showing Draft Content)

C1.DataCollection.C1CacheDataCollection-1.InsertRangeAsync

InsertRangeAsync Method

InsertRangeAsync(int, IEnumerable<T>, CancellationToken)

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

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

The index where the item will be inserted.

IEnumerable<T> items

The items to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Overrides