[]
        
(Showing Draft Content)

C1.DataCollection.C1CursorDataCollection-2.InsertAsync

InsertAsync Method

InsertAsync(int, T, CancellationToken)

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

Declaration
public Task<int> InsertAsync(int index, T item, CancellationToken cancellationToken)
Parameters
Type Name Description
int index

The index where the item will be inserted.

T item

The item to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Implements