Share via


TotalsRowFormula Class

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

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.OpenXmlLeafTextElement
DocumentFormat.OpenXml.Spreadsheet.TableFormulaType
DocumentFormat.OpenXml.Spreadsheet.TotalsRowFormula

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

Syntax

'宣言
Public Class TotalsRowFormula _
    Inherits TableFormulaType
'使用
Dim instance As TotalsRowFormula
public class TotalsRowFormula : TableFormulaType

Remarks

[ISO/IEC 29500-1 初版]

18.5.1.6 totalsRowFormula (Totals Row Formula)

This element contains a custom formula for aggregating values from the column.

Each tableColumn has a totalsRowFunction that can be used for simple aggregations such as average, standard deviation, min, max, count, and others. If a more custom calculation is desired, then this element should be used, and the totalsRowFunction shall be set to "custom".

Parent Elements

tableColumn (§18.5.1.3)

Attributes

Description

array (Array)

A Boolean value that indicates whether this formula is an array style formula.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

TotalsRowFormula Members

DocumentFormat.OpenXml.Spreadsheet Namespace