API Reference
Class
LegacyDocImportDiagnostic
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.
Returned or exposed by
- Property LegacyDocLoadResult.Diagnostics
- Property LegacyDocDocument.Diagnostics
- Property WordDocument.LegacyDocImportDiagnostics
Constructors
public LegacyDocImportDiagnostic(String code, LegacyDocDiagnosticSeverity severity, String message) #Initializes a new legacy DOC import diagnostic.
Parameters
- code System.String
- Stable diagnostic code.
- severity OfficeIMO.Word.LegacyDoc.Diagnostics.LegacyDocDiagnosticSeverity
- Diagnostic severity.
- message System.String
- Human-readable diagnostic message.
Methods
public override String ToString() #Returns:
StringFormats the diagnostic as a compact code/severity/message string.
Returns
Formatted diagnostic text.