Commands Class

Defines the Commands Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is mso14:commands.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.CustomUI.Commands

Namespace:  DocumentFormat.OpenXml.Office2010.CustomUI
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Command), FileFormatVersions.Office2010)> _
Public Class Commands _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Commands
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Command), FileFormatVersions.Office2010)]
public class Commands : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Command <mso14:command>

2.3.45 CT_Commands

Target namespace: https://schemas.microsoft.com/office/2007/10/customui

Referenced by: CT_CustomUI

Specifies a list of commands which are repurposed.

Child Elements:

command : A CT_Command element.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Commands">

<xsd:sequence>

<xsd:element name="command" type="CT_Command" minOccurs="1" maxOccurs="5000"/>

</xsd:sequence>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

Commands Members

DocumentFormat.OpenXml.Office2010.CustomUI Namespace