API Reference
Class
WordContentControlFormValidationResult
Describes the content-control form keys and validation issues found for a supplied form map.
Inheritance
- Object
- WordContentControlFormValidationResult
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public WordContentControlFormValidationResult EnsureValid() #Returns:
WordContentControlFormValidationResultThrows when validation issues were found, otherwise returns this result.
Inherited Methods
Properties
public IReadOnlyList<String> ExpectedKeys { get; } #Unique content-control keys found in the document.
public IReadOnlyList<String> SuppliedKeys { get; } #Unique keys supplied by the caller.
public IReadOnlyList<WordContentControlFormIssue> Issues { get; } #Validation issues found before filling content controls.
public Boolean IsValid { get; } #True when the supplied values can be applied without validation issues.