Share via


DataModel Constructors

Definition

Overloads

DataModel()

Initializes a new instance of the DataModel class.

DataModel(OpenXmlElement[])

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

DataModel(IEnumerable<OpenXmlElement>)

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

DataModel(String)

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

DataModel()

Initializes a new instance of the DataModel class.

public DataModel ();
Public Sub New ()

Applies to

DataModel(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DataModel(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DataModel(String)

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

public DataModel (string outerXml);
new DocumentFormat.OpenXml.Office2013.Excel.DataModel : string -> DocumentFormat.OpenXml.Office2013.Excel.DataModel
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to