[]
Load the items between the specified indexes.
public static Task LoadAsync<T>(this IDataCollection<T> dataCollection, int? fromIndex = null, int? toIndex = null, CancellationToken cancellationToken = default) where T : class?
Public Shared Function LoadAsync(Of T As Class)(dataCollection As IDataCollection(Of T), Optional fromIndex As Integer? = Nothing, Optional toIndex As Integer? = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| int? | fromIndex | The starting index, if not specified this will be 0. |
| int? | toIndex | The starting index, if not specified this will be Count. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |