Поделиться через


DocPartUnique Class

Built-In Document Part.When the object is serialized out as xml, its qualified name is w:docPartUnique.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.DocPartUnique

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

Syntax

'Declaration
Public Class DocPartUnique _
    Inherits OnOffType
'Usage
Dim instance As DocPartUnique
public class DocPartUnique : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.5.2.14 docPartUnique (Built-In Document Part)

This element specifies that this structured document tag is being used to encapsulate a built-in document part (i.e. this element appears as a child element of the docPartObj element).

[Example: Consider the following structured document tag:

<w:sdt>
<w:sdtPr>
…
<w:docPartObj>
…
<w:docPartUnique/>
</w:docPartObj>
</w:sdtPr>
…
</w:sdt>

The docPartUnique element in this structured document tag's properties specify that the type of structured document tag is a container for a document part. end example]

Parent Elements

docPartList (§17.5.2.12); docPartObj (§17.5.2.13)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

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

DocPartUnique Members

DocumentFormat.OpenXml.Wordprocessing Namespace