Share via


DataTable Constructors

Definition

Overloads

DataTable()

Initializes a new instance of the DataTable class.

DataTable(OpenXmlElement[])

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

DataTable(IEnumerable<OpenXmlElement>)

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

DataTable(String)

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

DataTable()

Initializes a new instance of the DataTable class.

public DataTable ();
Public Sub New ()

Applies to

DataTable(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DataTable(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DataTable(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to