Returns a page of items in the repository as a paged list

Namespace: DotNetNuke.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IPagedList<T> GetPage(
	int pageIndex,
	int pageSize
)
Visual Basic
Function GetPage ( 
	pageIndex As Integer,
	pageSize As Integer
) As IPagedList(Of T)

Parameters

pageIndex
Type: System..::..Int32
The page Index to fetch
pageSize
Type: System..::..Int32
The size of the page to fetch

Return Value

The list of items

See Also