Query 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
Query() |
Initializes a new instance of the Query class. |
Query(OpenXmlElement[]) |
Initializes a new instance of the Query class with the specified child elements. |
Query(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Query class with the specified child elements. |
Query(String) |
Initializes a new instance of the Query class from outer XML. |
Query()
Initializes a new instance of the Query class.
public Query ();
Public Sub New ()
Applies to
Query(OpenXmlElement[])
Initializes a new instance of the Query class with the specified child elements.
public Query (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.Query : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.Query
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Query(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Query class with the specified child elements.
public Query (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.Query : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.Query
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Query(String)
Initializes a new instance of the Query class from outer XML.
public Query (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Query : string -> DocumentFormat.OpenXml.Spreadsheet.Query
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.