'Declaration
<ExtensionAttribute()> Public Shared Function CanFilter(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal filterExpression As FilterExpression _ ) As Boolean
'Usage
Dim collectionView As ICollectionView(Of T) Dim filterExpression As FilterExpression Dim value As Boolean value = ICollectionViewEx.CanFilter(Of T)(collectionView, filterExpression)
[Extension()] public static bool CanFilter<T>( ICollectionView<T> collectionView, FilterExpression filterExpression ) where T: class
Parameters
- collectionView
- The collection view.
- filterExpression
- The filter expression that determine how the data would be filtered.
Type Parameters
- T