Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfDiagnostic

OfficeIMO.Rtf.Diagnostics

Namespace
OfficeIMO.Rtf.Diagnostics
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • RtfDiagnostic

Usage

Explore 4 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.

Accepted by parameters 1

Constructors

public RtfDiagnostic(RtfDiagnosticSeverity severity, string code, string message, int position) #

Initializes a new diagnostic.

Parameters

severity OfficeIMO.Rtf.Diagnostics.RtfDiagnosticSeverity required
code string required
message string required
position int required

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

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 int Position { get; } #

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