Share via


Node Constructors

Definition

Overloads

Node()

Initializes a new instance of the Node class.

Node(OpenXmlElement[])

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

Node(IEnumerable<OpenXmlElement>)

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

Node(String)

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

Node()

Initializes a new instance of the Node class.

public Node ();
Public Sub New ()

Applies to

Node(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Node(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Node(String)

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

public Node (string outerXml);
new DocumentFormat.OpenXml.EMMA.Node : string -> DocumentFormat.OpenXml.EMMA.Node
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to