Returns a page of items in the repository as a paged list filtered by scope

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

Syntax

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

Parameters

scopeValue
Type: TScopeType
The value of the scope to filter by
pageIndex
Type: System..::..Int32
The page Index to fetch
pageSize
Type: System..::..Int32
The size of the page to fetch

Type Parameters

TScopeType
The type of the scope field

Return Value

The list of items

Remarks

This overload should be used to get a list of items for a specific module instance or for a specific portal dependening on how the items in the repository are scoped.

See Also