DataModelRoot 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
| 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.DataModelRootPublic 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.DataModelRootPublic 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.DataModelRootPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.