ObjectQueryBaseTQuery, TObjectForEachObject Method |
Executes the given action for each item (TObject) in the result. Processes the items in batches of the given size.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public virtual void ForEachObject(
Action<TObject> objAction,
int batchSize = -1
)
Parameters
- objAction
- Type: SystemActionTObject
Object action - batchSize (Optional)
- Type: SystemInt32
Batch size. 0 means no batch processing. By default uses current paging settings.
See Also