In This Topic
Iterates over root items in
DataSources, starting with a fresh copy of the document and processing templates separately for each root data item.
The action is called as each data item is processed. This action can be used to save the current version of the document (containing data only from the current root data item).
When this method completes, the document is restored to the original state (i.e. it will contain the original template tags rather than data values).
Syntax
'Declaration
Public Sub BatchProcess( _
ByVal As System.Action, _
Optional ByVal As System.Globalization.CultureInfo _
)
public void BatchProcess(
System.Action ,
System.Globalization.CultureInfo
)
Parameters
- itemProcessed
- The action to be invoked after each root data item is processed.
- cultureInfo
- Culture used to format data values. If null, the current culture is used.
See Also