Groups Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Group <x:group>

[ISO/IEC 29500-1 1st Edition]

18.10.1.43 groups (OLAP Level Groups)

Represents the collection of OLAP level groups.

[Example:

<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>

end example]

Parent Elements

groupLevel (§18.10.1.39)

Child Elements

Subclause

group (OLAP Group)

§18.10.1.37

Attributes

Description

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.

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

Groups Members

DocumentFormat.OpenXml.Spreadsheet Namespace