SlicerCachePivotTable Class

Defines the SlicerCachePivotTable Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:pivotTable.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Excel.SlicerCachePivotTable

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

Syntax

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

Remarks

2.6.67 CT_SlicerCachePivotTable

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

Referenced by: CT_SlicerCachePivotTables

A complex type that specifies a PivotTable ([ISO/IEC-29500-1] section 18.10) view filtered by a slicer cache.

Attributes:

tabId : An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the unique identifier of the worksheet which contains the PivotTable ([ISO/IEC-29500-1] section 18.10) view specified by the name attribute. MUST match the sheetId of an existing sheet ([ISO/IEC-29500-4] section A.2) element within the workbook.

name : An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the name of the PivotTable ([ISO/IEC-29500-1] section 18.10) view on the worksheet specified by tabId. MUST match the name attribute of an existing pivotTableDefinition element in the worksheet. The createdVersion attribute of the CT_PivotTableDefinition ([ISO/IEC-29500-4] section A.2) element that defines the specified PivotTable ([ISO/IEC-29500-1] section 18.10) MUST be greater than or equal to 3.

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

<xsd:complexType name="CT_SlicerCachePivotTable">

<xsd:attribute name="tabId" type="xsd:unsignedInt" use="required"/>

<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>

</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

SlicerCachePivotTable Members

DocumentFormat.OpenXml.Office2010.Excel Namespace