WordContentControlFormValidationResult
OfficeIMO.Word
Describes the content-control form keys and validation issues found for a supplied form map.
Inheritance
- object
- WordContentControlFormValidationResult
Usage
Explore 2 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.
Returned or exposed by 2
Methods
public WordContentControlFormValidationResult EnsureValid() #Throws when validation issues were found, otherwise returns this result.
public string ToJson() #Serializes this validation result to deterministic JSON for CI, service logs, and thin wrapper surfaces.
Returns
stringpublic string ToMarkdown() #Renders this validation result as Markdown suitable for review notes and automation artifacts.
Returns
stringInherited 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 bool IsValid { get; } #True when the supplied values can be applied without validation issues.