Share via


CacheHierarchy class

Defines the CacheHierarchy Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:cacheHierarchy.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office15.Excel.CacheHierarchy

Namespace:  DocumentFormat.OpenXml.Office15.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class CacheHierarchy _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As CacheHierarchy
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class CacheHierarchy : OpenXmlLeafElement

Remarks

2.4.57 cacheHierarchy

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main

A CT_CacheHierarchy element that specifies that specifies the extended properties of an OLAP measure.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="cacheHierarchy" type="CT_CacheHierarchy"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.113 CT_CacheHierarchy

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: cacheHierarchy

CT_CacheHierarchy is a complex type which specifies additional properties for an OLAP measure.

Attributes:

aggregatedColumn: An int attribute that specifies the zero-based index of PivotTable cache hierarchy which corresponds to this OLAP measure. The referenced CT_CacheHierarchy ([ISO/IEC-29500-4] section A.2) element specifies the PivotTable cache hierarchy that this OLAP measure aggregates. MUST only be specified if the measure attribute of this cache hierarchy is "true". The value MUST match the index of an existing cache hierarchy in CT_CacheHierarchies ([ISO/IEC-29500-4) collection or be equal -1 if this OLAP measure is not an implicit measure which aggregates a cache hierarchy.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_CacheHierarchy">

<xsd:attribute name="aggregatedColumn" type="xsd:int"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

CacheHierarchy members

DocumentFormat.OpenXml.Office15.Excel namespace