PivotCacheIdVersion class

Office 2013 and later

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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2013.Excel.PivotCacheIdVersion

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class PivotCacheIdVersion : OpenXmlLeafElement

2.4.65 pivotCacheIdVersion

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

A CT_PivotCacheIdVersion element that specifies the extended properties of a PivotTable ([ISO/IEC-29500-1] section 18.10) PivotCache definition.<42> If this element exists, there MUST be a preceding CT_PivotCacheDefinition element and the pivotCacheId attribute of the preceding CT_PivotCacheDefinition element MUST be equal to one of the following:-

The cacheId attribute of the CT_PivotTableData element in the PivotTable part that specifies a Non-Worksheet PivotTable.

The pivotCacheId attribute of the CT_TimelineState (section 2.6.116) child element of a CT_TimelineCacheDefinition (section 2.6.112) element that specifies a Timeline cache.

See section 2.2.4.5 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1].

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

<xsd:element name="pivotCacheIdVersion" type="CT_PivotCacheIdVersion"/>

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

2.6.139 CT_PivotCacheIdVersion

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

Referenced by: pivotCacheIdVersion

A complex type that specifies the extended properties of a PivotTable ([ISO/IEC-29500-1] section 18.10) PivotCache definition.<115>

Attributes:

cacheIdSupportedVersion: An unsignedByte ([XMLSCHEMA2] section 3.3.24) attribute that specifies minimum version of the application where this pivotCacheId attribute of an existing CT_PivotCacheDefinition element is guaranteed to be unique.

cacheIdCreatedVersion: An unsignedByte ([XMLSCHEMA2] section 3.3.24) attribute that specifies minimum version of the application where this pivotCacheId attribute of an existing CT_PivotCacheDefinition element can be changed upon saving the workbook.

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

<xsd:complexType name="CT_PivotCacheIdVersion">

<xsd:attribute name="cacheIdSupportedVersion" type="xsd:unsignedByte" use="required"/>

<xsd:attribute name="cacheIdCreatedVersion" type="xsd:unsignedByte" use="required"/>

</xsd:complexType>

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: