[]
        
(Showing Draft Content)

C1.DataCollection.C1HierarchicalDataCollection-1.ReplaceAsync

ReplaceAsync Method

ReplaceAsync(int, T, CancellationToken)

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

Declaration
public virtual 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