Table 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for