PivotHierarchies Class

PivotTable OLAP Hierarchies.When the object is serialized out as xml, its qualified name is x:pivotHierarchies.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • PivotHierarchy <x:pivotHierarchy>

[ISO/IEC 29500-1 1st Edition]

18.10.1.71 pivotHierarchies (PivotTable OLAP Hierarchies)

Represents the collection of OLAP hierarchies associated with the PivotTable.

[Example:

<sh:pivotHierarchies count="3">
<sh:pivotHierarchy dragToRow="0" dragToCol="0" dragToPage="0" dragToData="1"/>
<sh:pivotHierarchy dragToRow="0" dragToCol="0" dragToPage="0" dragToData="1"/>
<sh:pivotHierarchy dragToRow="0" dragToCol="0" dragToPage="0" dragToData="1"/>
<sh:pivotHierarchy dragToRow="0" dragToCol="0" dragToPage="0" dragToData="1"/>
</sh:pivotHierarchies>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

pivotHierarchy (OLAP Hierarchy)

§18.10.1.72

Attributes

Description

count (OLAP Hierarchy Count)

Specifies the number of OLAP hierarchies 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_PivotHierarchies) 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

PivotHierarchies Members

DocumentFormat.OpenXml.Spreadsheet Namespace