Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OdsFormulaValue

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision 804a7612eee4 with working tree changes
Base ValueType
Modifiers sealed

Immutable scalar formula result.

Inheritance

  • ValueType
  • OdsFormulaValue

Usage

Explore 6 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.

Methods

public Boolean AsBoolean() #
Returns: Boolean

Boolean value.

public Double AsNumber() #
Returns: Double

Numeric value.

public String AsText() #
Returns: String

Text or error payload.

public static OdsFormulaValue Boolean(Boolean value) #
Returns: OdsFormulaValue

Creates a Boolean value.

Parameters

value System.Boolean requiredposition: 0
public static OdsFormulaValue Error(String message) #
Returns: OdsFormulaValue

Creates an error value.

Parameters

message System.String requiredposition: 0
public static OdsFormulaValue Number(Double value) #
Returns: OdsFormulaValue

Creates a numeric value.

Parameters

value System.Double requiredposition: 0
public static OdsFormulaValue Text(String? value) #
Returns: OdsFormulaValue

Creates a text value.

Parameters

value System.String? requiredposition: 0
public override String ToString() #
Returns: String

Returns the fully qualified type name of this instance.

Returns

The fully qualified type name.

Properties

public static OdsFormulaValue Empty { get; } #

Empty formula value.

public OdsFormulaValueKind Kind { get; } #

Result kind.