Share via


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.Drawing.Charts.Extension : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Charts.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.Drawing.Charts.Extension : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Charts.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.Drawing.Charts.Extension : string -> DocumentFormat.OpenXml.Drawing.Charts.Extension
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to