Table of Contents

Class CompileResult

Namespace
OfficeOpenXml.FormulaParsing.FormulaExpressions
Assembly
EPPlus.dll

Compile result

public class CompileResult : CompileResultBase
Inheritance
CompileResult
Derived
Inherited Members

Constructors

CompileResult(ExcelErrorValue)

Compile result with error value

public CompileResult(ExcelErrorValue errorValue)

Parameters

errorValue ExcelErrorValue

CompileResult(eErrorType)

Compile result with error type

public CompileResult(eErrorType errorType)

Parameters

errorType eErrorType

CompileResult(object, DataType)

Constructor

public CompileResult(object result, DataType dataType)

Parameters

result object

The result.

dataType DataType

The data type of the result.

Properties

Address

Range address

public virtual FormulaRangeAddress Address { get; }

Property Value

FormulaRangeAddress

DataType

Data type

public DataType DataType { get; }

Property Value

DataType

Empty

Returns a CompileResult with a null value and data type set to DataType.Empty

public static CompileResult Empty { get; }

Property Value

CompileResult

False

Returns a CompileResult instance with a boolean value of false.

public static CompileResult False { get; }

Property Value

CompileResult

IsDateString

Is date string

public bool IsDateString { get; }

Property Value

bool

IsHiddenCell

Is hidden cell

public bool IsHiddenCell { get; set; }

Property Value

bool

IsNumeric

Is the result numeric

public bool IsNumeric { get; }

Property Value

bool

IsNumericString

Is result numeric string

public bool IsNumericString { get; }

Property Value

bool

IsPercentageString

Is percentage string

public bool IsPercentageString { get; }

Property Value

bool

IsResultOfResolvedExcelRange

Is result of resolved excelRange

public bool IsResultOfResolvedExcelRange { get; }

Property Value

bool

IsResultOfSubtotal

Is result of subtotal

public bool IsResultOfSubtotal { get; set; }

Property Value

bool

Result

RESULT

public object Result { get; }

Property Value

object

ResultNumeric

Result numeric

public double ResultNumeric { get; }

Property Value

double

ResultType

Result type

public override CompileResultType ResultType { get; }

Property Value

CompileResultType

ResultValue

Result Value

public object ResultValue { get; }

Property Value

object

True

Returns a CompileResult instance with a boolean value of true.

public static CompileResult True { get; }

Property Value

CompileResult

ZeroDecimal

Returns a CompileResult instance with a decimal value of 0.

public static CompileResult ZeroDecimal { get; }

Property Value

CompileResult

ZeroInt

Returns a CompileResult instance with a integer value of 0.

public static CompileResult ZeroInt { get; }

Property Value

CompileResult

Methods

GetErrorResult(eErrorType)

Returns a CompileResult from the error type/>

public static CompileResult GetErrorResult(eErrorType errorType)

Parameters

errorType eErrorType

The type of error.

Returns

CompileResult

The CompileResult with a the value containing the ExcelErrorValue for the type.