Class
RtfDiagnostic
OfficeIMO.Rtf.Diagnostics
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.
Returned or exposed by 3
- Property RtfReadResult.Diagnostics
- Property RtfSyntaxTree.Diagnostics
- Property RtfTokenizeResult.Diagnostics
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
- code string
- message string
- position int
Methods
public override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.Inherited Methods
Properties
public int Position { get; } #Zero-based input position associated with the diagnostic, when known.