Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

BibliographyDiagnostic

Namespace OfficeIMO.Bibliography
Assembly OfficeIMO.Bibliography
Modifiers sealed

A stable source-located parser or writer diagnostic.

Inheritance

  • Object
  • BibliographyDiagnostic

Usage

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, Int32 offset = -1, Int32 line = -1, Int32 column = -1, String itemKey = null, String field = null) #

Initializes a diagnostic.

Parameters

code System.String requiredposition: 0
severity OfficeIMO.Bibliography.BibliographyDiagnosticSeverity requiredposition: 1
message System.String requiredposition: 2
offset System.Int32 = -1 optionalposition: 3
line System.Int32 = -1 optionalposition: 4
column System.Int32 = -1 optionalposition: 5
itemKey System.String = null optionalposition: 6
field System.String = null optionalposition: 7

Methods

Properties

public String Code { get; } #

Stable machine-readable code.

public BibliographyDiagnosticSeverity Severity { get; } #

Diagnostic severity.

public String Message { get; } #

Human-readable description.

public Int32 Offset { get; } #

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

public Int32 Line { get; } #

One-based source line, or -1.

public Int32 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.