Click or drag to resize
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.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public 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