Class CompileResult
Compile result
Inherited Members
Namespace: OfficeOpenXml.FormulaParsing.FormulaExpressions
Assembly: EPPlus.dll
Syntax
public class CompileResult : CompileResultBase
Constructors
CompileResult(eErrorType)
Compile result with error type
Declaration
public CompileResult(eErrorType errorType)
Parameters
Type | Name | Description |
---|---|---|
e |
errorType |
CompileResult(ExcelErrorValue)
Compile result with error value
Declaration
public CompileResult(ExcelErrorValue errorValue)
Parameters
Type | Name | Description |
---|---|---|
Excel |
errorValue |
CompileResult(Object, DataType)
Constructor
Declaration
public CompileResult(object result, DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
System. |
result | The result. |
Data |
dataType | The data type of the result. |
Properties
Address
Range address
Declaration
public virtual FormulaRangeAddress Address { get; }
Property Value
Type | Description |
---|---|
Formula |
DataType
Data type
Declaration
public DataType DataType { get; }
Property Value
Type | Description |
---|---|
Data |
Empty
Returns a CompileResult with a null value and data type set to DataType.Empty
Declaration
public static CompileResult Empty { get; }
Property Value
Type | Description |
---|---|
Compile |
False
Returns a CompileResult instance with a boolean value of false.
Declaration
public static CompileResult False { get; }
Property Value
Type | Description |
---|---|
Compile |
IsDateString
Is date string
Declaration
public bool IsDateString { get; }
Property Value
Type | Description |
---|---|
System. |
IsHiddenCell
Is hidden cell
Declaration
public bool IsHiddenCell { get; set; }
Property Value
Type | Description |
---|---|
System. |
IsNumeric
Is the result numeric
Declaration
public bool IsNumeric { get; }
Property Value
Type | Description |
---|---|
System. |
IsNumericString
Is result numeric string
Declaration
public bool IsNumericString { get; }
Property Value
Type | Description |
---|---|
System. |
IsPercentageString
Is percentage string
Declaration
public bool IsPercentageString { get; }
Property Value
Type | Description |
---|---|
System. |
IsResultOfResolvedExcelRange
Is result of resolved excelRange
Declaration
public bool IsResultOfResolvedExcelRange { get; }
Property Value
Type | Description |
---|---|
System. |
IsResultOfSubtotal
Is result of subtotal
Declaration
public bool IsResultOfSubtotal { get; set; }
Property Value
Type | Description |
---|---|
System. |
Result
RESULT
Declaration
public object Result { get; }
Property Value
Type | Description |
---|---|
System. |
ResultNumeric
Result numeric
Declaration
public double ResultNumeric { get; }
Property Value
Type | Description |
---|---|
System. |
ResultType
Result type
Declaration
public override CompileResultType ResultType { get; }
Property Value
Type | Description |
---|---|
Compile |
Overrides
ResultValue
Result Value
Declaration
public object ResultValue { get; }
Property Value
Type | Description |
---|---|
System. |
True
Returns a CompileResult instance with a boolean value of true.
Declaration
public static CompileResult True { get; }
Property Value
Type | Description |
---|---|
Compile |
ZeroDecimal
Returns a CompileResult instance with a decimal value of 0.
Declaration
public static CompileResult ZeroDecimal { get; }
Property Value
Type | Description |
---|---|
Compile |
ZeroInt
Returns a CompileResult instance with a integer value of 0.
Declaration
public static CompileResult ZeroInt { get; }
Property Value
Type | Description |
---|---|
Compile |
Methods
GetErrorResult(eErrorType)
Returns a Compile
Declaration
public static CompileResult GetErrorResult(eErrorType errorType)
Parameters
Type | Name | Description |
---|---|---|
e |
errorType | The type of error. |
Returns
Type | Description |
---|---|
Compile |
The Compile |