API Reference
Struct
ExcelFormulaValue
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) #Returns:
ExcelFormulaValueCreates an Excel error formula value.
Parameters
- errorCode System.String
public static ExcelFormulaValue FromNumber(Double value) #Returns:
ExcelFormulaValueCreates a finite numeric formula value.
Parameters
- value System.Double
public static ExcelFormulaValue FromText(String? value) #Returns:
ExcelFormulaValueCreates a text formula value.
Parameters
- value System.String?
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?
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.