[]
        
(Showing Draft Content)

C1.DataCollection.C1WrapDataCollection-2.InsertAsync

InsertAsync Method

InsertAsync(int, S, CancellationToken)

Inserts the specified item at the specified index in the collection.

Declaration
public virtual Task<int> InsertAsync(int index, S item, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int index

The index where the item will be inserted.

S item

The item to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Implements