API Reference

Struct

ExcelFormulaValue

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Base ValueType
Modifiers sealed

Typed scalar value used by custom formula functions.

Inheritance

  • ValueType
  • ExcelFormulaValue

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public static ExcelFormulaValue FromError(String errorCode) #
Returns: ExcelFormulaValue

Creates an Excel error formula value.

Parameters

errorCode System.String requiredposition: 0
public static ExcelFormulaValue FromNumber(Double value) #
Returns: ExcelFormulaValue

Creates a finite numeric formula value.

Parameters

value System.Double requiredposition: 0
public static ExcelFormulaValue FromText(String value) #
Returns: ExcelFormulaValue

Creates a text formula value.

Parameters

value System.String requiredposition: 0

Properties

public static ExcelFormulaValue Blank { get; } #

Blank formula value.

public ExcelFormulaValueKind Kind { get; } #

Gets the value kind.

public Double Number { get; } #

Gets the number when Kind is Number.

public String Text { get; } #

Gets the text or error code for text and error values.