'Declaration Public Shared Function LoadAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ Optional ByVal fromIndex As Nullable(Of Integer), _ Optional ByVal toIndex As Nullable(Of Integer), _ Optional ByVal cancellationToken As CancellationToken _ ) As Task
public static Task LoadAsync<T>( IDataCollection<T> dataCollection, Nullable<int> fromIndex, Nullable<int> toIndex, CancellationToken cancellationToken ) where T: class
Parameters
- dataCollection
- The data collection.
- fromIndex
- The starting index, if not specified this will be 0.
- toIndex
- The starting index, if not specified this will be Count.
- cancellationToken
- The cancellation token.
Type Parameters
- T