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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax TQuery PagedBy(
int pageSize
)
Parameters
- pageSize
- Type: SystemInt32
Return Value
Type:
TQueryRemarks
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