SmtpSendingMessageEventArgsMergeRowIndex Property
Gets the index of the data row used for mail merge of this message.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public int MergeRowIndex { get; }

Property Value

Type: Int32
The index of the data row in MergeTable data table used for mail merge of this message, or zero if this mail message was not composed as a merge of DataTable data with mail template.
Remarks

For mail merge operations, e.MergeTable[e.MergeRowIndex] (in C# syntax, assuming e is an instance of SmtpSendingMessageEventArgs class) returns DataRow used for mail merge of the message being sent.

This property returns zero for mail merge over IDataReader jobs.

See Also