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.Wordprocessing.Table : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.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.Wordprocessing.Table : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.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.Wordprocessing.Table : string -> DocumentFormat.OpenXml.Wordprocessing.Table
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to