SlicerCacheData Class
Defines the SlicerCacheData Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:data.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.SlicerCacheData
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(OlapSlicerCache), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(TabularSlicerCache), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class SlicerCacheData _
Inherits OpenXmlCompositeElement
用法
Dim instance As SlicerCacheData
[ChildElementInfoAttribute(typeof(OlapSlicerCache), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(TabularSlicerCache), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class SlicerCacheData : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
OlapSlicerCache <x14:olap>
TabularSlicerCache <x14:tabular>
2.6.65 CT_SlicerCacheData
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main
Referenced by: CT_SlicerCacheDefinition
A complex type that specifies a data source for the slicer cache.
Child Elements:
olap : A CT_OlapSlicerCache element that specifies an OLAP data source.
tabular : A CT_TabularSlicerCache element that specifies a non-OLAP data source.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_SlicerCacheData">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="olap" type="CT_OlapSlicerCache" minOccurs="1" maxOccurs="1"/>
<xsd:element name="tabular" type="CT_TabularSlicerCache" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
</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.