次の方法で共有


DocPartTypes Class

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

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.DocPartTypes

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(DocPartType))> _
Public Class DocPartTypes _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As DocPartTypes
[ChildElementInfoAttribute(typeof(DocPartType))]
public class DocPartTypes : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocPartType <w:type>

[ISO/IEC 29500-1 初版]

17.12.16 types (Entry Types)

This element specifies the set of entry types 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.

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

<w:docPartPr>
<w:types>
…
</w:types>
…
</w:docPartPr>

The types element specifies the set of entry types which must be associated with the parent glossary document entry. end example]

Parent Elements

docPartPr (§17.12.7)

Child Elements

Subclause

type (Entry Type)

§17.12.15

Attributes

Description

all (Entry Is Of All Types)

Specifies that the current glossary document is all entry types. This attribute shall override any information specified as child elements of this element and shall ensure that the current entry is associated with all available entry types.

If this attribute is omitted, then its default value shall be assumed to be false.

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

<w:docPartPr>
<w:types w:all="true">
<w:type w:val="autoExp" />
  </w:types>
…
</w:docPartPr>

The types element contains a single entry type definition, but because the all attribute is present with a value of true, that entry type is augmented to place the parent entry into all possible entry types. end example]

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DocPartTypes Members

DocumentFormat.OpenXml.Wordprocessing Namespace