Struct
ExcelFormulaValue
OfficeIMO.Excel
Typed scalar value used by custom formula functions.
Inheritance
- ValueType
- ExcelFormulaValue
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 6
- Method ExcelCustomFormulaFunction.EndInvoke
- Method ExcelCustomFormulaFunction.Invoke
- Method ExcelFormulaValue.FromError
- Method ExcelFormulaValue.FromNumber
- Method ExcelFormulaValue.FromText
- Property ExcelFormulaValue.Blank
Accepted by parameters 2
Methods
public static ExcelFormulaValue FromError(string errorCode) #Creates an Excel error formula value.
Parameters
- errorCode string
Returns
ExcelFormulaValuepublic static ExcelFormulaValue FromNumber(double value) #Creates a finite numeric formula value.
Parameters
- value double
Returns
ExcelFormulaValuepublic static ExcelFormulaValue FromText(string? value) #Creates a text formula value.
Parameters
- value string?
Returns
ExcelFormulaValueInherited Methods
Properties
public static ExcelFormulaValue Blank { get; } #Blank formula value.
public double Number { get; } #Gets the number when ExcelFormulaValue.Kind is ExcelFormulaValueKind.Number.
public string? Text { get; } #Gets the text or error code for text and error values.