SortAsync<T> Method (C1CollectionViewEx)
In This Topic
Sorts the collection view according to the specified sort path and direction.
Syntax
'Declaration
Public Shared Function SortAsync(Of As Class)( _
ByVal As C1CollectionView(Of T), _
ByVal As System.Linq.Expressions.Expression(Of Func(Of T,Object)), _
Optional ByVal As SortDirection _
) As System.Threading.Tasks.Task
public static System.Threading.Tasks.Task SortAsync<>(
C1CollectionView<T> ,
System.Linq.Expressions.Expression<Func<T,object>> ,
SortDirection
)
where T: class
Parameters
- collectionView
- The collection view.
- sortPath
- The filter path.
- sortDirection
- The sort direction.
Type Parameters
- T
See Also