ComponentOne Xamarin.iOS
GroupAsync<T> Method (C1CollectionViewEx)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1CollectionViewEx Class : GroupAsync<T> Method
The collection view.
The group path.
Groups the collection view according to the specified group path.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1CollectionViewEx/d__2`1)> 
<ExtensionAttribute()> 
Public Shared Function GroupAsync(Of T As Class)( _ 
   ByVal collectionView As C1CollectionView(Of T), _ 
   ByVal groupPath As Expression(Of Func(Of T,Object)) _ 
) As Task
'Usage
 
Dim collectionView As C1CollectionView(Of T)
Dim groupPath As Expression(Of Func(Of T,Object))
Dim value As Task
 
value = C1CollectionViewEx.GroupAsync(Of T)(collectionView, groupPath)
[AsyncStateMachine(C1.CollectionView.C1CollectionViewEx/d__2`1)] 
[Extension()] 
public static Task GroupAsync<T>( 
   C1CollectionView<T> collectionView, 
   Expression<Func<T,object>> groupPath 
) 
where T: class

Parameters

collectionView
The collection view.
groupPath
The group path.

Type Parameters

T
See Also

Reference

C1CollectionViewEx Class
C1CollectionViewEx Members