다음을 통해 공유


TemplateCommandGroup Constructors

Definition

Overloads

TemplateCommandGroup()

Initializes a new instance of the TemplateCommandGroup class.

TemplateCommandGroup(OpenXmlElement[])

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

TemplateCommandGroup(IEnumerable<OpenXmlElement>)

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

TemplateCommandGroup(String)

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

TemplateCommandGroup()

Initializes a new instance of the TemplateCommandGroup class.

public TemplateCommandGroup ();
Public Sub New ()

Applies to

TemplateCommandGroup(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TemplateCommandGroup(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TemplateCommandGroup(String)

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

public TemplateCommandGroup (string outerXml);
new DocumentFormat.OpenXml.Office.Word.TemplateCommandGroup : string -> DocumentFormat.OpenXml.Office.Word.TemplateCommandGroup
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to