[]
Moves the items specified by fromIndex and count to the new toIndex position.
public static Task MoveRangeAsync<T>(this IDataCollection<T> dataCollection, int fromIndex, int count, int toIndex, CancellationToken cancellationToken = default) where T : class?
Public Shared Function MoveRangeAsync(Of T As Class)(dataCollection As IDataCollection(Of T), fromIndex As Integer, count As Integer, toIndex As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| int | fromIndex | From index. |
| int | count | The number of items to be moved. |
| int | toIndex | To index. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |