ComponentOne Xamarin.Android
CanSort<T>(ICollectionView<T>,String) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > CanSort Method : CanSort<T>(ICollectionView<T>,String) Method
The collection view.
The path of the data item to which the sort would be applied.
Returns true if the collection view supports sorting.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function CanSort(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   ByVal sortPath As String _
) As Boolean
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim sortPath As String
Dim value As Boolean
 
value = ICollectionViewEx.CanSort(Of T)(collectionView, sortPath)
[Extension()]
public static bool CanSort<T>( 
   ICollectionView<T> collectionView,
   string sortPath
)
where T: class

Parameters

collectionView
The collection view.
sortPath
The path of the data item to which the sort would be applied.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List