Partager via


MeasureGroup Class

OLAP Measure Group.When the object is serialized out as xml, its qualified name is x:measureGroup.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.MeasureGroup

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

Syntax

'Declaration
Public Class MeasureGroup _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As MeasureGroup
public class MeasureGroup : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.10.1.53 measureGroup (OLAP Measure Group)

Represents a PivotTable OLAP measure group.

[Example:

<measureGroup name="Sales Orders" caption="Sales Orders"/>

end example]

Parent Elements

measureGroups (§18.10.1.54)

Attributes

Description

caption (Measure Group Display Name)

Specifies the display name of the measure group.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

name (Measure Group Name)

Specifies the name of the measure group.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

[Note: The W3C XML Schema definition of this element’s content model (CT_MeasureGroup) 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

MeasureGroup Members

DocumentFormat.OpenXml.Spreadsheet Namespace