ObjectQueryBase TQuery, TObject  ForEachObject Method Kentico 8.0 API Reference
Executes the given action for each item (TObject) in the result. Processes the items in batches of the given size.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

objAction
Type: OnlineSystem Action TObject 
Object action
batchSize (Optional)
Type: OnlineSystem Int32
Batch size. 0 means no batch processing. By default uses current paging settings.
See Also