[]
Inserts the specified item at the specified index in the collection.
public Task<int> InsertAsync(int index, object? item, CancellationToken cancellationToken)
Public Function InsertAsync(index As Integer, item As Object, cancellationToken As CancellationToken) As Task(Of Integer)
| Type | Name | Description |
|---|---|---|
| int | index | The index where the item will be inserted. |
| object | item | The item to be inserted. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task<int> |