共用方式為


Extension Constructors

Definition

Overloads

Extension()

Initializes a new instance of the Extension class.

Extension(OpenXmlElement[])

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

Extension(IEnumerable<OpenXmlElement>)

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

Extension(String)

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

Extension()

Initializes a new instance of the Extension class.

public Extension ();
Public Sub New ()

Applies to

Extension(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Extension(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Extension(String)

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

public Extension (string outerXml);
new DocumentFormat.OpenXml.Office2021.OfficeExtLst.Extension : string -> DocumentFormat.OpenXml.Office2021.OfficeExtLst.Extension
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to