共用方式為


OlapSlicerCacheLevelsData Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Excel.OlapSlicerCacheLevelsData

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(OlapSlicerCacheLevelData), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class OlapSlicerCacheLevelsData _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OlapSlicerCacheLevelsData
[ChildElementInfoAttribute(typeof(OlapSlicerCacheLevelData), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class OlapSlicerCacheLevelsData : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OlapSlicerCacheLevelData <x14:level>

2.6.73 CT_OlapSlicerCacheLevelsData

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

Referenced by: CT_OlapSlicerCache

A complex type that specifies a list of OLAP levels of the OLAP hierarchy specified by this slicer cache.

Child Elements:

level : A CT_OlapSlicerCacheLevelData element that specifies properties of an OLAP level in the OLAP hierarchy specified by this slicer cache.

Attributes:

count : An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of level children of this element.

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

<xsd:complexType name="CT_OlapSlicerCacheLevelsData">

<xsd:sequence>

<xsd:element name="level" type="CT_OlapSlicerCacheLevelData" minOccurs="1" maxOccurs="unbounded"/>

</xsd:sequence>

<xsd:attribute name="count" type="xsd:unsignedInt" use="optional"/>

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

OlapSlicerCacheLevelsData Members

DocumentFormat.OpenXml.Office2010.Excel Namespace