Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

BibliographyDiagnostic

OfficeIMO.Bibliography

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

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.

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 required
severity OfficeIMO.Bibliography.BibliographyDiagnosticSeverity required
message string required
offset int = -1 optional
line int = -1 optional
column int = -1 optional
itemKey string? = null optional
field string? = null optional

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public string Code { get; } #

Stable machine-readable code.

public BibliographyDiagnosticSeverity Severity { get; } #

Diagnostic severity.

public string Message { get; } #

Human-readable description.

public int Offset { get; } #

Zero-based UTF-16 source offset, or -1.

public int Line { get; } #

One-based source line, or -1.

public int Column { get; } #

One-based source column, or -1.

public string? ItemKey { get; } #

Related citation key, when known.

public string? Field { get; } #

Related native field, when known.