Creates a paged list containing objects from the selected enumerable source
Namespace: DotNetNuke.CollectionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public PagedList( IEnumerable<T> source, int pageIndex, int pageSize ) |
Visual Basic |
---|
Public Sub New ( source As IEnumerable(Of T), pageIndex As Integer, pageSize As Integer ) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
The IEnumerable<(Of <(<'T>)>)> data store containing objects to be retrieved
- pageIndex
- Type: System..::..Int32
The index of the page to retrieve
- pageSize
- Type: System..::..Int32
The size of the page to retrieve