SmtpSendingMessageEventArgsMergeDataReader Property |
Gets the reference to the data reader used for mail merge of this message.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public IDataReader MergeDataReader { get; }
Public ReadOnly Property MergeDataReader As IDataReader
Get
Property Value
Type:
IDataReaderA reference to the data reader if it was passed as an input, or a null reference (
Nothing in Visual Basic)
if the input wasn't a data reader.
Remarks
Note that you must not advance the position of data reader (such as with
Read method).
MailBee will do this itself.
Also, if the mail merge process is multi-threaded, you cannot use this property to access the current row. Another thread
may already use the reader to read the next data row. Use
MergeDataReaderRowValues and
MergeDataReaderColumnNames
propeties to read the field values corresponding to the current row.
See Also