[]
        
(Showing Draft Content)

C1.DataCollection.C1CursorDataCollection-2.ReplaceAsync

ReplaceAsync Method

ReplaceAsync(int, T, CancellationToken)

Replaces the item at the specified index by the specified item.

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

The index.

T item

The item.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Implements