다음을 통해 공유


Command Constructors

Definition

Overloads

Command()

Initializes a new instance of the Command class.

Command(OpenXmlElement[])

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

Command(IEnumerable<OpenXmlElement>)

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

Command(String)

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

Command()

Initializes a new instance of the Command class.

public Command ();
Public Sub New ()

Applies to

Command(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Command(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Command(String)

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

public Command (string outerXml);
new DocumentFormat.OpenXml.Presentation.Command : string -> DocumentFormat.OpenXml.Presentation.Command
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to