Freigeben über


Section-Klasse

Defines the Section Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:section.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.Section

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • SectionSlideIdList <p14:sldIdLst>

  • ExtensionList <p14:extLst>

2.5.12 CT_Section

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

Referenced by: CT_SectionProperties

A complex type that specifies a section.

Child Elements:

extLst : A p:CT_ExtensionList ([ISO/IEC-29500-4] section A.3) element that specifies the extension list within which all future extensions to the section will be stored.

Attributes:

name : An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the section.

slideIdLst : An ST_SlideIdList attribute that specifies the presentation slide identifiers belonging to the section. Each presentation slide identifier MUST NOT appear in any other section.

id : An s:ST_Guid ([ISO/IEC-29500-4] section A.7.9) attribute that specifies a globally unique identifier (GUID) used to uniquely identify a section in the CT_SectionProperties.

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

<xsd:complexType name="CT_Section">

<xsd:sequence>

<xsd:element name="extLst" type="p:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="name" type="xsd:string"/>

<xsd:attribute name="slideIdLst" type="ST_SlideIdList"/>

<xsd:attribute name="id" type="s:ST_Guid"/>

</xsd:complexType>

See section 5.1 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

Section-Member

DocumentFormat.OpenXml.Office2010.PowerPoint-Namespace