[]
        
(Showing Draft Content)

C1.DataCollection.EntityFrameworkCore.C1EntityFrameworkCoreCursorDataCollection-1.ReplaceAsyncOverride

ReplaceAsyncOverride Method

ReplaceAsyncOverride(int, T, CancellationToken)

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

Declaration
protected override Task<int> ReplaceAsyncOverride(int index, T item, CancellationToken cancellationToken)
Parameters
Type Name Description
int index

This parameter is ignored.

T item

The item to be updated. This instance must be original item in the collection.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Overrides