Share via


Table Constructors

Definition

Overloads

Table()

Initializes a new instance of the Table class.

Table(OpenXmlElement[])

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

Table(IEnumerable<OpenXmlElement>)

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

Table(String)

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

Table()

Initializes a new instance of the Table class.

public Table ();
Public Sub New ()

Applies to

Table(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Table(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Table(String)

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

public Table (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Table : string -> DocumentFormat.OpenXml.Spreadsheet.Table
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to