Table of Contents

Method TryGetBookmarkText

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

TryGetBookmarkText(string, out string?)

Looks up a name bound by a SET field earlier in the update, falling back to a document bookmark of that name.

public bool TryGetBookmarkText(string name, out string? text)

Parameters

name string

The bookmark or variable name.

text string

The text, or null when the name is unknown.

Returns

bool

true if the name resolved.

Exceptions

ArgumentNullException

name is null.