GroupLevels Class
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

GroupLevels Class

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

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

public class GroupLevels : OpenXmlCompositeElement

The following table lists the possible child types:

  • GroupLevel <x:groupLevel>

[ISO/IEC 29500-1 1st Edition] groupLevels (OLAP Grouping Levels)

Represents the collection of OLAP grouping levels.


<groupLevels count="5">
<groupLevel uniqueName="[Product].[Product Categories].[(All)]"
  <groupLevel uniqueName="[Product].[Product Categories].[Product Categories1]"
caption="Product Categories1" user="1"/>
  <groupLevel uniqueName="[Product].[Product Categories].[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">
uniqueName="[Product].[Product Categories].[Category].&amp;[4]"/>
uniqueName="[Product].[Product Categories].[Category].&amp;[1]"/>
  <groupLevel uniqueName="[Product].[Product Categories].[Subcategory]"
  <groupLevel uniqueName="[Product].[Product Categories].[Product]"

end example]

Parent Elements

cacheHierarchy (§

Child Elements


groupLevel (OLAP Grouping Levels)




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.

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