ComponentOne Xamarin.Android
MoveToPageAsync<T> Method (ICollectionViewEx)


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : MoveToPageAsync<T> Method
The collection view.
The index of the page.
The cancellation token.
Moves to the page pageIndex.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__47`1)> 
<ExtensionAttribute()> 
Public Shared Function MoveToPageAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal pageIndex As Integer, _ 
   ByVal cancellationToken As CancellationToken _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim pageIndex As Integer
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = ICollectionViewEx.MoveToPageAsync(Of T)(collectionView, pageIndex, cancellationToken)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__47`1)] 
[Extension()] 
public static Task MoveToPageAsync<T>( 
   ICollectionView<T> collectionView, 
   int pageIndex, 
   CancellationToken cancellationToken 
) 
where T: class

Parameters

collectionView
The collection view.
pageIndex
The index of the page.
cancellationToken
The cancellation token.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members