[]
        
(Showing Draft Content)

C1.WPF.DataCollection.C1CollectionViewDataCollection.ReplaceAsync

ReplaceAsync Method

ReplaceAsync(int, object?, CancellationToken)

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

Declaration
public Task<int> ReplaceAsync(int index, object? item, CancellationToken cancellationToken)
Public Function ReplaceAsync(index As Integer, item As Object, cancellationToken As CancellationToken) As Task(Of Integer)
Parameters
Type Name Description
int index

The index.

object item

The item.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Implements