Share via


SlicerCacheOlapLevelName class

Defines the SlicerCacheOlapLevelName Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:slicerCacheOlapLevelName.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office15.Excel.SlicerCacheOlapLevelName

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

Syntax

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

Remarks

2.6.116 CT_SlicerCacheOlapLevelName

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

Referenced by: CT_SlicerCacheHideNoData

A complex type that specifies the properties of an OLAP level in the OLAP hierarchy specified by the ancestor slicer cache. slicer items with no data in this OLAP level are not displayed.

Attributes:

uniqueName: An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the MDX unique name of the OLAP level specified by this element within the OLAP hierarchy specified with this slicer cache. The length of this string MUST be at least 1 character and MUST NOT exceed 32,767 characters.

count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the total number of hidden slicer items in this OLAP level within the OLAP hierarchy specified by this slicer cache.

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

<xsd:complexType name="CT_SlicerCacheOlapLevelName">

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

<xsd:attribute name="count" type="xsd:unsignedInt" 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

SlicerCacheOlapLevelName members

DocumentFormat.OpenXml.Office15.Excel namespace