'Declaration
<ExtensionAttribute()> Public Shared Sub SetPageSize(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal pageSize As Integer _ )
'Usage
Dim collectionView As ICollectionView(Of T) Dim pageSize As Integer ICollectionViewEx.SetPageSize(Of T)(collectionView, pageSize)
[Extension()] public static void SetPageSize<T>( ICollectionView<T> collectionView, int pageSize ) where T: class
Parameters
- collectionView
- The collection view.
- pageSize
- The size of the page.
Type Parameters
- T