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
severityOdfIssueSeverityThe diagnostic severity. / 診斷嚴重性。
messageKeystringThe localization message key. / 在地化訊息鍵值。
rowintThe zero-based row index, or -1 when not row-specific. / 0 基準列索引;不適用特定列時為 -1。
columnintThe zero-based column index, or -1 when not column-specific. / 0 基準欄索引;不適用特定欄時為 -1。
propertyNamestringThe object property name. / 物件屬性名稱。
rawValuestringThe raw cell value. / 原始儲存格值。
codestringThe stable diagnostic code. / 穩定診斷代碼。
cellAddressstringThe cell address, if available. / 可用時的儲存格位址。
expectedTypestringThe expected target type. / 預期目標型別。
actualTypestringThe 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
CellAddress
Gets the cell address, if available. 取得可用時的儲存格位址。
public string? CellAddress { get; }
Property Value
Code
Gets the stable diagnostic code. 取得穩定診斷代碼。
public string? Code { get; }
Property Value
Column
Gets the zero-based column index, or -1 when not column-specific. 取得 0 基準欄索引;不適用特定欄時為 -1。
public int Column { get; }
Property Value
ExpectedType
Gets the expected target type. 取得預期目標型別。
public string? ExpectedType { get; }
Property Value
MessageKey
Gets the localization message key. 取得在地化訊息鍵值。
public string MessageKey { get; }
Property Value
PropertyName
Gets the object property name. 取得物件屬性名稱。
public string PropertyName { get; }
Property Value
RawValue
Gets the raw cell value. 取得原始儲存格值。
public string? RawValue { get; }
Property Value
Row
Gets the zero-based row index, or -1 when not row-specific. 取得 0 基準列索引;不適用特定列時為 -1。
public int Row { get; }
Property Value
Severity
Gets the diagnostic severity. 取得診斷嚴重性。
public OdfIssueSeverity Severity { get; }