次の方法で共有


TemplateCommandGroup Class

Defines the TemplateCommandGroup Class. It is the root element of CustomizationPart.When the object is serialized out as xml, its qualified name is wne:tcg.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Office.Word.TemplateCommandGroup

Namespace: DocumentFormat.OpenXml.Office.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
<ChildElementInfoAttribute(GetType(AllocatedCommands))> _
<ChildElementInfoAttribute(GetType(MismatchedKeyMapCustomization))> _
<ChildElementInfoAttribute(GetType(KeyMapCustomizations))> _
<ChildElementInfoAttribute(GetType(Toolbars))> _
Public Class TemplateCommandGroup _
    Inherits OpenXmlPartRootElement
'使用
Dim instance As TemplateCommandGroup
[ChildElementInfoAttribute(typeof(AllocatedCommands))]
[ChildElementInfoAttribute(typeof(MismatchedKeyMapCustomization))]
[ChildElementInfoAttribute(typeof(KeyMapCustomizations))]
[ChildElementInfoAttribute(typeof(Toolbars))]
public class TemplateCommandGroup : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • KeyMapCustomizations <wne:keymaps>

  • MismatchedKeyMapCustomization <wne:keymapsBad>

  • Toolbars <wne:toolbars>

  • AllocatedCommands <wne:acds>

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

TemplateCommandGroup Members

DocumentFormat.OpenXml.Office.Word Namespace