Groups Class

OLAP Level Groups.When the object is serialized out as xml, its qualified name is x:groups.

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

public class Groups : OpenXmlCompositeElement

The following table lists the possible child types:

  • Group <x:group>

[ISO/IEC 29500-1 1st Edition] groups (OLAP Level Groups)

Represents the collection of OLAP level groups.


<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]"/>

end example]

Parent Elements

groupLevel (§

Child Elements


group (OLAP Group)




count (Level Group Count)

Specifies the number of level groups in the collection.

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_Groups) 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.