SetLevel class
Defines the SetLevel Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:setLevel.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Excel.SetLevel
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.6.23 CT_SetLevel
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_SetLevels
A complex type that specifies an OLAP level of the PivotTable ([ISO/IEC-29500-1] section 18.10) cache hierarchy of a PivotTable named set.
Attributes:
hierarchy: An int ([XMLSCHEMA2] section 3.3.17) attribute that specifies a reference to the PivotTable cache hierarchy. MUST be a value from the following table.
Value | Meaning |
"-2" | The PivotTable measure cache hierarchy is used. |
"-1" | No PivotTable cache hierarchy is used. |
Greater than or equal to zero | A zero-based PivotTable cache hierarchy index. The referenced CT_CacheHierarchy ([ISO/IEC-29500-4] section A.2) element specifies the PivotTable cache hierarchy that is used. MUST be less than the number of CT_CacheHierarchy elements within the CT_CacheHierarchies ([ISO/IEC-29500-1] section 18.10) element. |
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_SetLevel">
<xsd:attribute name="hierarchy" use="required" type="xsd:int"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).