OlapSlicerCacheSelection Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • OlapSlicerCacheItemParent <x14:p>

2.6.76 CT_OlapSlicerCacheSelection

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

Referenced by: CT_OlapSlicerCacheSelections

A complex type that specifies an individual OLAP slicer item that is selected for filtering. This complex type also specifies the ancestor OLAP members of the OLAP member associated with the OLAP slicer item in the OLAP hierarchy.

Child Elements:

p : A CT_OlapSlicerCacheItemParent element that specifies OLAP members that are the ancestors of the OLAP member associated with the OLAP slicer item specified by this element. The first element in this list specifies the OLAP member that is the parent of the OLAP member associated with the OLAP slicer item specified by this element. Each subsequent element in this list specifies an ancestor OLAP member in the next level up the OLAP hierarchy, excluding the OLAP All member.

Attributes:

n : An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the MDX unique name of the OLAP member associated with the OLAP slicer item specified by this element.

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

<xsd:complexType name="CT_OlapSlicerCacheSelection">

<xsd:sequence>

<xsd:element name="p" type="CT_OlapSlicerCacheItemParent" minOccurs="0" maxOccurs="unbounded"/>

</xsd:sequence>

<xsd:attribute name="n" 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

OlapSlicerCacheSelection Members

DocumentFormat.OpenXml.Office2010.Excel Namespace