[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.MoveToPageAsync

MoveToPageAsync Method

MoveToPageAsync<T>(IDataCollection<T>, int, CancellationToken)

Moves to the page pageIndex.

Declaration
public static Task MoveToPageAsync<T>(this IDataCollection<T> dataCollection, int pageIndex, CancellationToken cancellationToken) where T : class?
Public Shared Function MoveToPageAsync(Of T As Class)(dataCollection As IDataCollection(Of T), pageIndex As Integer, cancellationToken As CancellationToken) As Task
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int pageIndex

The index of the page.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Type Parameters
Name Description
T