Click or drag to resize
IDataQuerySettingsTQueryPagedBy Method
Sets up the query as a paged query with the given page size. Resets the page index to first page. Use in combination with NextPageAvailable and NextPage to iterate over the data in batches.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
TQuery PagedBy(
	int pageSize
)

Parameters

pageSize
Type: SystemInt32

Return Value

Type: TQuery
Remarks
Note that if you iterate the results after calling this method, the results will cover only a single page. To iterate through all items page-by-page, use methods ForEachRow or ForEachObject.
See Also