Share via


DataModelRoot Constructors

Definition

Overloads

DataModelRoot()

Initializes a new instance of the DataModelRoot class.

DataModelRoot(OpenXmlElement[])

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

DataModelRoot(IEnumerable<OpenXmlElement>)

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

DataModelRoot(String)

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

DataModelRoot()

Initializes a new instance of the DataModelRoot class.

public DataModelRoot ();
Public Sub New ()

Applies to

DataModelRoot(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DataModelRoot(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DataModelRoot(String)

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

public DataModelRoot (string outerXml);
new DocumentFormat.OpenXml.Drawing.Diagrams.DataModelRoot : string -> DocumentFormat.OpenXml.Drawing.Diagrams.DataModelRoot
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to