Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordMailMergeTemplateInspection

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Describes the merge fields, conditional blocks, and validation issues found in a Word mail-merge template.

Inheritance

  • object
  • WordMailMergeTemplateInspection

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Methods

public WordMailMergeTemplateInspection EnsureValid() #

Throws when validation issues were found, otherwise returns this inspection.

Properties

public IReadOnlyList<string> MergeFieldNames { get; } #

Unique MERGEFIELD names found in the template.

public IReadOnlyList<string> ConditionalBlockNames { get; } #

Unique conditional block names found in the template.

public IReadOnlyList<string> RepeatingBlockNames { get; } #

Unique repeated block names found in the template.

public IReadOnlyList<WordMailMergeTemplateIssue> Issues { get; } #

Validation issues found during inspection.

public bool IsValid { get; } #

True when the template has no validation issues.