Share via


Formula Class

Formula.When the object is serialized out as xml, its qualified name is x:formula.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Spreadsheet.XstringType
          DocumentFormat.OpenXml.Spreadsheet.Formula

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Formula _
    Inherits XstringType
'Usage
Dim instance As Formula
public class Formula : XstringType

Remarks

[ISO/IEC 29500-1 1st Edition]

18.3.1.43 formula (Formula)

The content of this element is a formula whose calculated value specifies the criteria for the conditional formatting rule.

The possible values for this element are defined by the ST_Formula simple type (§18.18.35).

Parent Elements

cfRule (§18.3.1.10); rdn (§18.11.1.13)

[Note: The W3C XML Schema definition of this element’s content model (ST_Formula) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Formula Members

DocumentFormat.OpenXml.Spreadsheet Namespace