[]
Replaces the item at the specified index by the specified item.
protected override Task<int> ReplaceAsyncOverride(int index, T item, CancellationToken cancellationToken)
| 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. |
| Type | Description |
|---|---|
| Task<int> |