Model 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
Model() |
Initializes a new instance of the Model class. |
Model(OpenXmlElement[]) |
Initializes a new instance of the Model class with the specified child elements. |
Model(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Model class with the specified child elements. |
Model(String) |
Initializes a new instance of the Model class from outer XML. |
Model()
Initializes a new instance of the Model class.
public Model ();
Public Sub New ()
Applies to
Model(OpenXmlElement[])
Initializes a new instance of the Model class with the specified child elements.
public Model (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.EMMA.Model : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.EMMA.Model
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Model(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Model class with the specified child elements.
public Model (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.EMMA.Model : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.EMMA.Model
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Model(String)
Initializes a new instance of the Model class from outer XML.
public Model (string outerXml);
new DocumentFormat.OpenXml.EMMA.Model : string -> DocumentFormat.OpenXml.EMMA.Model
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.