PivotCaches class

Office 2013 and later

Defines the PivotCaches Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:pivotCaches.

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

No code example is currently available or this language may not be supported.

2.4.39 pivotCaches

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

A pivotCaches element<16> is a CT_PivotCaches element, as specified in [ISO/IEC-29500-4] section A.2 that specifies a list of PivotTable, as specified in [ISO/IEC-29500-1] section 18.10, PivotCache identifier elements. The list of elements specifies the PivotTable PivotCaches. See section 2.2.4.10 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1]. The pivotCacheDefinition ([ISO/IEC-29500-1] section 18.10.1.67) element identified by the relationship identifier in the CT_PivotCache ([ISO/IEC-29500-4] section A.2) child element of this element, MUST satisfy the following criteria.

There MUST be a CT_PivotCacheIdVersion element in the extension of the element pivotCacheDefinition.

The type attribute of the CT_CacheSource ([ISO/IEC-29500-4] section A.2) child element of the element pivotCacheDefinition, MUST have the value external specified by ST_SourceType ([ISO/IEC-29500-1] 18.18.75).

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

<xsd:element name="pivotCaches" type="x:CT_PivotCaches"/>

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: