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
Syntaxpublic MailMessageCollection Instantiate(
IDataReader reader
)
Public Function Instantiate (
reader As IDataReader
) As MailMessageCollection
public:
MailMessageCollection^ Instantiate(
IDataReader^ reader
)
member Instantiate :
reader : IDataReader -> MailMessageCollection
Parameters
- reader
- Type: System.DataIDataReader
The IDataReader, which will provide the source data to instantiate the template.
Return Value
Type:
MailMessageCollectionA MailMessageCollection that generated by the template and the datasource.
See Also