Freigeben über


DocPartType-Klasse

Entry Type.When the object is serialized out as xml, its qualified name is w:type.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.DocPartType

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class DocPartType _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As DocPartType
public class DocPartType : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.12.15 type (Entry Type)

This element specifies an entry type which shall be applied to the properties of the parent glossary document entry (§17.12.5). Each of these entry types can, based on their values, influence the visibility and behavior of the parent glossary document entry as defined by the associated simple type information.

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

<w:docPartPr>
<w:types>
<w:type w:val="bbPlcHdr" />
</w:types>
…
</w:docPartPr>

The type element with a value of bbPlcHdr specifies that the parent glossary document entry must be treated as if it was the placeholder text for one or more structured document tags in the document. end example]

Parent Elements

types (§17.12.16)

Attributes

Description

val (Type Value)

Specifies the value for the current entry type.

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

<w:type w:val="bbPlcHdr" />

The val attribute value of bbPlcHdr specifies that the parent glossary document entry must be treated as if it was the placeholder text for one or more structured document tags in the document. end example]

The possible values for this attribute are defined by the ST_DocPartType simple type (§17.18.17).

[Note: The W3C XML Schema definition of this element's content model (CT_DocPartType) is located in §A.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

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

Siehe auch

Referenz

DocPartType-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace