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


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : LoadAsync<T> Method
The collection view.
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
The cancellation token.
Load the items between the specified indexes.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function LoadAsync(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   Optional ByVal fromIndex As Nullable(Of Integer), _
   Optional ByVal toIndex As Nullable(Of Integer), _
   Optional ByVal cancellationToken As CancellationToken _
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim fromIndex As Nullable(Of Integer)
Dim toIndex As Nullable(Of Integer)
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = ICollectionViewEx.LoadAsync(Of T)(collectionView, fromIndex, toIndex, cancellationToken)

Parameters

collectionView
The collection view.
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

Reference

ICollectionViewEx Class
ICollectionViewEx Members