Class OdfFormulaError
Represents an ODF formula evaluation error. 代表 ODF 公式評估錯誤。
public class OdfFormulaError
- Inheritance
-
OdfFormulaError
- Inherited Members
Constructors
OdfFormulaError(OdfFormulaErrorType)
Represents an ODF formula evaluation error. 代表 ODF 公式評估錯誤。
public OdfFormulaError(OdfFormulaErrorType errorType)
Parameters
errorTypeOdfFormulaErrorTypeThe formula error type. / 公式錯誤型別。
Fields
Div0
A static instance representing a division-by-zero error. 代表除以零錯誤的靜態執行個體。
public static readonly OdfFormulaError Div0
Field Value
NA
A static instance representing a not available error. 代表值無法使用錯誤的靜態執行個體。
public static readonly OdfFormulaError NA
Field Value
Name
A static instance representing an unrecognized name error. 代表名稱未識別錯誤的靜態執行個體。
public static readonly OdfFormulaError Name
Field Value
Null
A static instance representing a no-intersection error. 代表無交集錯誤的靜態執行個體。
public static readonly OdfFormulaError Null
Field Value
Num
A static instance representing a numeric error. 代表數字錯誤的靜態執行個體。
public static readonly OdfFormulaError Num
Field Value
Ref
A static instance representing an invalid reference error. 代表參照無效錯誤的靜態執行個體。
public static readonly OdfFormulaError Ref
Field Value
Value
A static instance representing a value error. 代表值錯誤的靜態執行個體。
public static readonly OdfFormulaError Value
Field Value
Properties
ErrorType
Gets the formula error type. 取得公式錯誤的型別。
public OdfFormulaErrorType ErrorType { get; }
Property Value
Methods
ToErrorString()
Converts the formula error to its corresponding error string. 將公式錯誤轉換為對應的錯誤字串。
public string ToErrorString()
Returns
- string
The formula error string. / 公式錯誤字串。