Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OlapSlicerCacheSelection class

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

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)
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(OlapSlicerCacheItemParent), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
public class OlapSlicerCacheSelection : OpenXmlCompositeElement

2.6.82 CT_OlapSlicerCacheSelection

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/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.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.