TemplateEngineInstantiate Method (IDataReader)

Instantiates the template with a IDataReader as datasource.

Namespace:  Aspose.Email.Tools.Merging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public MailMessageCollection Instantiate(
	IDataReader reader
)

Parameters

reader
Type: System.DataIDataReader
The IDataReader, which will provide the source data to instantiate the template.

Return Value

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