Table of Contents

Class MergeFieldEventArgs

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

One merge field, handed to FieldMerging before its value is written.

public sealed class MergeFieldEventArgs
Inheritance
MergeFieldEventArgs
Inherited Members

Properties

FieldName

Gets the merge field's name, as written in the instruction.

HasValue

Gets whether the data source supplied a column of this name at all.

RecordIndex

Gets the zero-based index of the record being merged.

RegionName

Gets the enclosing region's name, or null in the top-level record.

Value

Gets or sets the value that will be written. Setting it wins over the data source, and setting it on a field the data had no column for makes that field merged.