API Reference

Class

LegacyDocImportDiagnostic

Namespace OfficeIMO.Word.LegacyDoc.Diagnostics
Assembly OfficeIMO.Word
Modifiers sealed

Diagnostic produced while importing a legacy binary Word document.

Inheritance

  • Object
  • LegacyDocImportDiagnostic

Usage

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

Constructors

public LegacyDocImportDiagnostic(String code, LegacyDocDiagnosticSeverity severity, String message) #

Initializes a new legacy DOC import diagnostic.

Parameters

code System.String requiredposition: 0
Stable diagnostic code.
severity OfficeIMO.Word.LegacyDoc.Diagnostics.LegacyDocDiagnosticSeverity requiredposition: 1
Diagnostic severity.
message System.String requiredposition: 2
Human-readable diagnostic message.

Methods

public override String ToString() #
Returns: String

Formats the diagnostic as a compact code/severity/message string.

Returns

Formatted diagnostic text.

Properties

public String Code { get; } #

Gets the stable diagnostic code.

public LegacyDocDiagnosticSeverity Severity { get; } #

Gets diagnostic severity.

public String Message { get; } #

Gets human-readable diagnostic text.