Table of Contents

Method GetValue

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

GetValue(int)

Gets a field's value in the current record.

object? GetValue(int index)

Parameters

index int

The zero-based field index.

Returns

object

The value, or null. A null merges as empty rather than failing.

Exceptions

ArgumentOutOfRangeException

index is out of range.

InvalidOperationException

No record is current.