[]
Replaces the item at the specified index by the specified item.
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)
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| object | item | The item. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task<int> |