Table of Contents

Method TryGetRelation

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

TryGetRelation(string, out IMergeDataReader?)

Opens a reader over a named child collection of the current record.

bool TryGetRelation(string name, out IMergeDataReader? reader)

Parameters

name string

The collection name, matched ordinal-ignore-case.

reader IMergeDataReader

The child reader, positioned before its first record.

Returns

bool

true if the collection exists.