共用方式為


Commands Constructors

Definition

Overloads

Commands()

Initializes a new instance of the Commands class.

Commands(OpenXmlElement[])

Initializes a new instance of the Commands class with the specified child elements.

Commands(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Commands class with the specified child elements.

Commands(String)

Initializes a new instance of the Commands class from outer XML.

Commands()

Initializes a new instance of the Commands class.

public Commands ();
Public Sub New ()

Applies to

Commands(OpenXmlElement[])

Initializes a new instance of the Commands class with the specified child elements.

public Commands (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.CustomUI.Commands : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.CustomUI.Commands
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Commands(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Commands class with the specified child elements.

public Commands (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.CustomUI.Commands : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.CustomUI.Commands
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Commands(String)

Initializes a new instance of the Commands class from outer XML.

public Commands (string outerXml);
new DocumentFormat.OpenXml.Office2010.CustomUI.Commands : string -> DocumentFormat.OpenXml.Office2010.CustomUI.Commands
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to