Freigeben über


GroupLevel-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • Groups <x:groups>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

18.10.1.39 groupLevel (OLAP Grouping Levels)

Represents the collection of OLAP grouping levels.

[Example:

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

end example]

Parent Elements

groupLevels (§18.10.1.40)

Child Elements

Subclause

extLst (Future Feature Data Storage Area)

§18.2.10

groups (OLAP Level Groups)

§18.10.1.43

Attributes

Description

caption (Grouping Level Display Name)

Specifies the display name for this grouping level.

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

customRollUp (Custom Roll Up)

Specifies a boolean value that indicates whether this group level has a custom roll up.

A value of 1 or true indicates this group level has a custom roll up.

A value of 0 or false indicates this group level does not have a custom roll up.

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

uniqueName (Unique Name)

Specifies the unique name for this grouping level.

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

user (User-Defined Group Level)

Specifies a boolean value that indicates whether this is a user-defined group level.

A value of 1 or true indicates this is a user-defined group.

A value of 0 or false indicates this group is not user-defined.

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

[Note: The W3C XML Schema definition of this element's content model (CT_GroupLevel) is located in §A.2. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

GroupLevel-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace