Freigeben über


SetLevels-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • SetLevel <x14:setLevel>

2.6.22 CT_SetLevels

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

Referenced by: CT_CacheHierarchy

A complex type that specifies a list of CT_SetLevel elements that specify the OLAP levels of the PivotTable ([ISO/IEC-29500-1] section 18.10) named set.

Child Elements:

setLevel : A CT_SetLevel element that specifies an OLAP level of the PivotTable ([ISO/IEC-29500-1] section 18.10) cache hierarchy of the PivotTable ([ISO/IEC-29500-1] section 18.10) named set.

Attributes:

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

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

<xsd:complexType name="CT_SetLevels">

<xsd:sequence>

<xsd:element name="setLevel" minOccurs="1" maxOccurs="unbounded" type="CT_SetLevel"/>

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

SetLevels-Member

DocumentFormat.OpenXml.Office2010.Excel-Namespace