OpenXmlCompositeElement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenXmlCompositeElement() |
Initializes a new instance of the OpenXmlCompositeElement class. |
OpenXmlCompositeElement(OpenXmlElement[]) |
Initializes a new instance of the OpenXmlCompositeElement using the supplied array of OpenXmlElement elements. |
OpenXmlCompositeElement(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the OpenXmlCompositeElement class using the supplied collection of OpenXmlElement elements. |
OpenXmlCompositeElement(IEnumerable) |
Obsolete.
Initializes a new instance of the OpenXmlCompositeElement class using the supplied collection of elements. |
OpenXmlCompositeElement(String) |
Initializes a new instance of the OpenXmlCompositeElement class using the supplied outer XML. |
OpenXmlCompositeElement()
Initializes a new instance of the OpenXmlCompositeElement class.
protected OpenXmlCompositeElement ();
Protected Sub New ()
Applies to
OpenXmlCompositeElement(OpenXmlElement[])
Initializes a new instance of the OpenXmlCompositeElement using the supplied array of OpenXmlElement elements.
protected OpenXmlCompositeElement (params DocumentFormat.OpenXml.OpenXmlElement[] childrenElements);
new DocumentFormat.OpenXml.OpenXmlCompositeElement : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.OpenXmlCompositeElement
Protected Sub New (ParamArray childrenElements As OpenXmlElement())
Parameters
- childrenElements
- OpenXmlElement[]
An array of OpenXmlElement elements.
Applies to
OpenXmlCompositeElement(IEnumerable<OpenXmlElement>)
Initializes a new instance of the OpenXmlCompositeElement class using the supplied collection of OpenXmlElement elements.
protected OpenXmlCompositeElement (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childrenElements);
new DocumentFormat.OpenXml.OpenXmlCompositeElement : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.OpenXmlCompositeElement
Protected Sub New (childrenElements As IEnumerable(Of OpenXmlElement))
Parameters
- childrenElements
- IEnumerable<OpenXmlElement>
A collection of OpenXmlElement elements.
Applies to
OpenXmlCompositeElement(IEnumerable)
Caution
Should use the generic version of this. This overload will be removed in a future version.
Initializes a new instance of the OpenXmlCompositeElement class using the supplied collection of elements.
protected OpenXmlCompositeElement (System.Collections.IEnumerable childrenElements);
[System.Obsolete("Should use the generic version of this. This overload will be removed in a future version.")]
protected OpenXmlCompositeElement (System.Collections.IEnumerable childrenElements);
new DocumentFormat.OpenXml.OpenXmlCompositeElement : System.Collections.IEnumerable -> DocumentFormat.OpenXml.OpenXmlCompositeElement
[<System.Obsolete("Should use the generic version of this. This overload will be removed in a future version.")>]
new DocumentFormat.OpenXml.OpenXmlCompositeElement : System.Collections.IEnumerable -> DocumentFormat.OpenXml.OpenXmlCompositeElement
Protected Sub New (childrenElements As IEnumerable)
Parameters
- childrenElements
- IEnumerable
A collection of elements.
- Attributes
Applies to
OpenXmlCompositeElement(String)
Initializes a new instance of the OpenXmlCompositeElement class using the supplied outer XML.
protected OpenXmlCompositeElement (string outerXml);
new DocumentFormat.OpenXml.OpenXmlCompositeElement : string -> DocumentFormat.OpenXml.OpenXmlCompositeElement
Protected Sub New (outerXml As String)
Parameters
- outerXml
- String
The outer XML of the element.