ObjectQueryBase TQuery, TObject  ForEachObject Method Kentico 8.1 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.1.5347.20411)

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