Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / LoadAsync<T> Method
The data collection.
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
The cancellation token.

In This Topic
    LoadAsync<T> Method (IDataCollectionEx)
    In This Topic
    Load the items between the specified indexes.
    Syntax
    '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

    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
    See Also