Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the SdtDocPartType class.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.SdtDocPartType
DocumentFormat.OpenXml.Wordprocessing.SdtContentDocPartList
DocumentFormat.OpenXml.Wordprocessing.SdtContentDocPartObject
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(DocPartGallery))> _
<ChildElementInfoAttribute(GetType(DocPartCategory))> _
<ChildElementInfoAttribute(GetType(DocPartUnique))> _
Public MustInherit Class SdtDocPartType _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As SdtDocPartType
[ChildElementInfoAttribute(typeof(DocPartGallery))]
[ChildElementInfoAttribute(typeof(DocPartCategory))]
[ChildElementInfoAttribute(typeof(DocPartUnique))]
public abstract class SdtDocPartType : OpenXmlCompositeElement
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
The following table lists the possible child types:DocPartGallery <w:docPartGallery>DocPartCategory <w:docPartCategory>DocPartUnique <w:docPartUnique>
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.