'Declaration
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__9`1)> <ExtensionAttribute()> Public Overloads Shared Function SortAsync(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal sortPath As String, _ Optional ByVal sortDirection As SortDirection _ ) As Task
'Usage
Dim collectionView As ICollectionView(Of T) Dim sortPath As String Dim sortDirection As SortDirection Dim value As Task value = ICollectionViewEx.SortAsync(Of T)(collectionView, sortPath, sortDirection)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__9`1)] [Extension()] public static Task SortAsync<T>( ICollectionView<T> collectionView, string sortPath, SortDirection sortDirection ) where T: class
Parameters
- collectionView
- The collection view.
- sortPath
- The path of the data item to which the sort description will be applied.
- sortDirection
- The direction of the sort operation.
Type Parameters
- T