Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / MoveToPageAsync<T> Method
The data collection.
The index of the page.
The cancellation token.

In This Topic
    MoveToPageAsync<T> Method (IDataCollectionEx)
    In This Topic
    Moves to the page pageIndex.
    Syntax
    'Declaration
     
    
    Public Shared Function MoveToPageAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal pageIndex As Integer, _
       ByVal cancellationToken As CancellationToken _
    ) As Task
    public static Task MoveToPageAsync<T>( 
       IDataCollection<T> dataCollection,
       int pageIndex,
       CancellationToken cancellationToken
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    pageIndex
    The index of the page.
    cancellationToken
    The cancellation token.

    Type Parameters

    T
    See Also