Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfDiagnostic

Namespace OfficeIMO.Rtf.Diagnostics
Assembly OfficeIMO.Rtf
Modifiers sealed

Describes a parser, binder, or writer condition discovered while processing RTF.

Inheritance

  • Object
  • RtfDiagnostic

Usage

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

Accepted by parameters

Constructors

public RtfDiagnostic(RtfDiagnosticSeverity severity, String code, String message, Int32 position) #

Initializes a new diagnostic.

Parameters

severity OfficeIMO.Rtf.Diagnostics.RtfDiagnosticSeverity requiredposition: 0
code System.String requiredposition: 1
message System.String requiredposition: 2
position System.Int32 requiredposition: 3

Methods

public override String ToString() #
Returns: String

Properties

public RtfDiagnosticSeverity Severity { get; } #

Severity of the diagnostic.

public String Code { get; } #

Stable diagnostic code.

public String Message { get; } #

Human-readable diagnostic message.

public Int32 Position { get; } #

Zero-based input position associated with the diagnostic, when known.