Filters the incoming store to retrieve pages of a specified size.
Namespace: DotNetNuke.CollectionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static PageSelector<T> InPagesOf<T>( this IEnumerable<T> source, int pageSize ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function InPagesOf(Of T) ( source As IEnumerable(Of T), pageSize As Integer ) As PageSelector(Of T) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
The source object being filtered
- pageSize
- Type: System..::..Int32
The page size to use
Type Parameters
- T
- The type of the object being filtered