Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

ExcelFormulaValue

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Source revision e31b305980e3 with working tree changes
Base ValueType
Modifiers sealed

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.

Accepted by parameters 2

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 ExcelFormulaValue.Kind is ExcelFormulaValueKind.Number.

public String? Text { get; } #

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