TemplateEngineInstantiate Method (DataTable)

Instantiates the template with a DataTable as datasource.

Namespace:  Aspose.Email.Tools.Merging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public MailMessageCollection Instantiate(
	DataTable table
)

Parameters

table
Type: System.DataDataTable
The DataTable, which contains the source data to instantiate the template.

Return Value

Type: MailMessageCollection
A MailMessageCollection that generated by the template and the datasource.
See Also