Table of Contents

Class OdfObjectBindingDiagnostic

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Describes a non-fatal object binding diagnostic. 描述非致命的物件繫結診斷資訊。

public sealed class OdfObjectBindingDiagnostic
Inheritance
OdfObjectBindingDiagnostic
Inherited Members

Remarks

Initializes a new instance of the OdfObjectBindingDiagnostic class. 初始化 OdfObjectBindingDiagnostic 類別的新執行個體。

Constructors

OdfObjectBindingDiagnostic(OdfIssueSeverity, string, int, int, string, string?, string?, string?, string?, string?)

Describes a non-fatal object binding diagnostic. 描述非致命的物件繫結診斷資訊。

public OdfObjectBindingDiagnostic(OdfIssueSeverity severity, string messageKey, int row, int column, string propertyName, string? rawValue, string? code = null, string? cellAddress = null, string? expectedType = null, string? actualType = null)

Parameters

severity OdfIssueSeverity

The diagnostic severity. / 診斷嚴重性。

messageKey string

The localization message key. / 在地化訊息鍵值。

row int

The zero-based row index, or -1 when not row-specific. / 0 基準列索引;不適用特定列時為 -1。

column int

The zero-based column index, or -1 when not column-specific. / 0 基準欄索引;不適用特定欄時為 -1。

propertyName string

The object property name. / 物件屬性名稱。

rawValue string

The raw cell value. / 原始儲存格值。

code string

The stable diagnostic code. / 穩定診斷代碼。

cellAddress string

The cell address, if available. / 可用時的儲存格位址。

expectedType string

The expected target type. / 預期目標型別。

actualType string

The actual source type. / 實際來源型別。

Remarks

Initializes a new instance of the OdfObjectBindingDiagnostic class. 初始化 OdfObjectBindingDiagnostic 類別的新執行個體。

Properties

ActualType

Gets the actual source type. 取得實際來源型別。

public string? ActualType { get; }

Property Value

string

CellAddress

Gets the cell address, if available. 取得可用時的儲存格位址。

public string? CellAddress { get; }

Property Value

string

Code

Gets the stable diagnostic code. 取得穩定診斷代碼。

public string? Code { get; }

Property Value

string

Column

Gets the zero-based column index, or -1 when not column-specific. 取得 0 基準欄索引;不適用特定欄時為 -1。

public int Column { get; }

Property Value

int

ExpectedType

Gets the expected target type. 取得預期目標型別。

public string? ExpectedType { get; }

Property Value

string

MessageKey

Gets the localization message key. 取得在地化訊息鍵值。

public string MessageKey { get; }

Property Value

string

PropertyName

Gets the object property name. 取得物件屬性名稱。

public string PropertyName { get; }

Property Value

string

RawValue

Gets the raw cell value. 取得原始儲存格值。

public string? RawValue { get; }

Property Value

string

Row

Gets the zero-based row index, or -1 when not row-specific. 取得 0 基準列索引;不適用特定列時為 -1。

public int Row { get; }

Property Value

int

Severity

Gets the diagnostic severity. 取得診斷嚴重性。

public OdfIssueSeverity Severity { get; }

Property Value

OdfIssueSeverity