GroupLevels Class

OLAP Grouping Levels.When the object is serialized out as xml, its qualified name is x:groupLevels.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.GroupLevels

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(GroupLevel))> _
Public Class GroupLevels _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GroupLevels
[ChildElementInfoAttribute(typeof(GroupLevel))]
public class GroupLevels : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • GroupLevel <x:groupLevel>

[ISO/IEC 29500-1 1st Edition]

18.10.1.40 groupLevels (OLAP Grouping Levels)

Represents the collection of OLAP grouping levels.

[Example:

<groupLevels count="5">
<groupLevel uniqueName="[Product].[Product Categories].[(All)]"
caption="(All)"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Product Categories1]"
caption="Product Categories1" user="1"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Category]"
caption="Category">
<groups count="1">
<group name="CategoryXl_Grp_1" uniqueName="[Product].[Product Categories].
[Product Categories1].[GROUPMEMBER.[CategoryXl_Grp_1]].
[Product]].[Product Categories]].[All Products]]]" caption="Group1"
uniqueParent="[Product].[Product Categories].[All Products]" id="1">
        <groupMembers count="2">
<groupMember
uniqueName="[Product].[Product Categories].[Category].&amp;[4]"/>
<groupMember
uniqueName="[Product].[Product Categories].[Category].&amp;[1]"/>
</groupMembers>
</group>
</groups>
</groupLevel>
  <groupLevel uniqueName="[Product].[Product Categories].[Subcategory]"
caption="Subcategory"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Product]"
caption="Product"/>
</groupLevels>

end example]

Parent Elements

cacheHierarchy (§18.10.1.6)

Child Elements

Subclause

groupLevel (OLAP Grouping Levels)

§18.10.1.39

Attributes

Description

count (Grouping Level Count)

Specifies the number of grouping levels.

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

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

GroupLevels Members

DocumentFormat.OpenXml.Spreadsheet Namespace