Enum UnresolvedPlaceholderAction
What to do with a placeholder the data supplies no value for.
public enum UnresolvedPlaceholderAction
Fields
Leave = 0Leave the placeholder in the document exactly as it stands. The default.
Clear = 1Remove the placeholder, putting nothing in its place.
Throw = 2Throw InvalidDocumentException naming the placeholder (DXP1004).
Remarks
A placeholder whose key is present but whose value is null is not unresolved: it substitutes as empty, the same way a null merges as empty in mail merge. The distinction matters because a missing key is nearly always a template typo, while a null value is ordinary data.