Class
BibliographyDiagnostic
OfficeIMO.Bibliography
A stable source-located parser or writer diagnostic.
Inheritance
- object
- BibliographyDiagnostic
Usage
Explore 3 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 BibliographyDocument.Diagnostics
- Property BibliographyReadResult.Diagnostics
- Property BibliographyReferenceResult.Diagnostics
Constructors
public BibliographyDiagnostic(string code, BibliographyDiagnosticSeverity severity, string message, int offset = -1, int line = -1, int column = -1, string? itemKey = null, string? field = null) #Initializes a diagnostic.
Parameters
- code string
- severity OfficeIMO.Bibliography.BibliographyDiagnosticSeverity
- message string
- offset int = -1
- line int = -1
- column int = -1
- itemKey string? = null
- field string? = null
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 BibliographyDiagnosticSeverity Severity { get; } #Diagnostic severity.