API Reference
Class
OneNoteDiagnostic
A structured diagnostic emitted while reading or writing OneNote data.
Inheritance
- Object
- OneNoteDiagnostic
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OneNoteFileHeader.Diagnostics
- Property OneNoteNotebook.Diagnostics
- Property OneNotePage.Diagnostics
- Property OneNoteSection.Diagnostics
Constructors
public OneNoteDiagnostic() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Code { get; set; } #Stable diagnostic identifier.
public OneNoteDiagnosticSeverity Severity { get; set; } #Diagnostic severity.
public String Message { get; set; } #Human-readable diagnostic message.
public Nullable<Int64> Offset { get; set; } #Optional zero-based byte offset associated with the diagnostic.
public String SourcePath { get; set; } #Optional source path associated with the diagnostic.