PivotCaches class
Defines the PivotCaches Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:pivotCaches.
Inheritance hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office15.Excel.OpenXmlPivotCachesElement
DocumentFormat.OpenXml.Office15.Excel.PivotCaches
Namespace: DocumentFormat.OpenXml.Office15.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class PivotCaches _
Inherits OpenXmlPivotCachesElement
'Usage
Dim instance As PivotCaches
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class PivotCaches : OpenXmlPivotCachesElement
Remarks
2.4.39 pivotCaches
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/11/main
A pivotCaches element 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.9 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_PivotCacheDecoupled element in the extension of the element pivotCacheDefinition ([ISO/IEC-29500-1] section 18.10.1.67).
The type attribute of the CT_CacheSource ([ISO/IEC-29500-4] section A.2) child element of the element pivotCacheDefinition ([ISO/IEC-29500-1] section 18.10.1.67), 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).
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.