MailMergeContext Class
Represents the mail merge execution context.
- Inheritance:
- System.ObjectMailMergeContext
Properties
ParentContext
Gets the parent mail merge execution context or null if this is the root mail merge execution context.
public MailMergeContext ParentContext { get; }
Public ReadOnly Property ParentContext As MailMergeContext
Property Value
The parent mail merge execution context or null if this is the root mail merge execution context.
RangeEndField
Gets the Field that represents the end of the mail merge range.
Property Value
RangeName
Gets the mail merge range name.
Property Value
- System.String
The mail merge range name.
RangeStartField
Gets the Field that represents the start of the mail merge range.
Property Value
Record
Gets the data source record.
Property Value
- System.Object
The data source record.
RecordIndex
Gets the data source record index.
Property Value
- System.Int32
The data source record index.
Remarks
Record index starts from 0.
Methods
ToString()
Returns a System.String that represents this MailMergeContext instance.
Returns
- System.String
A System.String that represents this MailMergeContext instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and format of its return value might change in future versions.