|DataQueryBaseTQueryForEachPage Method |
Executes the given action for each page (DataSet) in the results. If the query is not set up as a paged query before calling this
method and pageSize is not set, executes the action once with the current results.
CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
public void ForEachPage(
int pageSize = -1
- Type: SystemActionTQuery
Action which will be executed for each page
- pageSize (Optional)
- Type: SystemInt32
Page size. 0 means no processing page-by-page. By default uses current paging settings. Page size of the query is set to the original value after this method finishes.