Share via


QueryTable Constructors

Definition

Overloads

QueryTable()

Initializes a new instance of the QueryTable class.

QueryTable(OpenXmlElement[])

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

QueryTable(IEnumerable<OpenXmlElement>)

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

QueryTable(String)

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

QueryTable()

Initializes a new instance of the QueryTable class.

public QueryTable ();
Public Sub New ()

Applies to

QueryTable(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

QueryTable(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

QueryTable(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to