OpenXmlPartRootElement Constructors

Definition

Overloads

OpenXmlPartRootElement()

Initializes a new instance of the OpenXmlPartRootElement class.

OpenXmlPartRootElement(OpenXmlElement[])

Initializes a new instance of the OpenXmlPartRootElement class using the supplied array of child elements.

OpenXmlPartRootElement(OpenXmlPart)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied OpenXmlPart.

OpenXmlPartRootElement(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied list of child elements.

OpenXmlPartRootElement(String)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied outer XML.

OpenXmlPartRootElement()

Initializes a new instance of the OpenXmlPartRootElement class.

protected OpenXmlPartRootElement ();
Protected Sub New ()

Applies to

OpenXmlPartRootElement(OpenXmlElement[])

Initializes a new instance of the OpenXmlPartRootElement class using the supplied array of child elements.

protected OpenXmlPartRootElement (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.OpenXmlPartRootElement : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Protected Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

All child elements

Applies to

OpenXmlPartRootElement(OpenXmlPart)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied OpenXmlPart.

protected OpenXmlPartRootElement (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart);
new DocumentFormat.OpenXml.OpenXmlPartRootElement : DocumentFormat.OpenXml.Packaging.OpenXmlPart -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Protected Sub New (openXmlPart As OpenXmlPart)

Parameters

openXmlPart
OpenXmlPart

The OpenXmlPart class.

Applies to

OpenXmlPartRootElement(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied list of child elements.

protected OpenXmlPartRootElement (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.OpenXmlPartRootElement : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Protected Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

All child elements.

Applies to

OpenXmlPartRootElement(String)

Initializes a new instance of the OpenXmlPartRootElement class using the supplied outer XML.

protected OpenXmlPartRootElement (string outerXml);
new DocumentFormat.OpenXml.OpenXmlPartRootElement : string -> DocumentFormat.OpenXml.OpenXmlPartRootElement
Protected Sub New (outerXml As String)

Parameters

outerXml
String

The outer XML of the element.

Applies to