Query Class

Query.When the object is serialized out as xml, its qualified name is x:query.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Query

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Tuples))> _
Public Class Query _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Query
[ChildElementInfoAttribute(typeof(Tuples))]
public class Query : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Tuples <x:tpls>

[ISO/IEC 29500-1 1st Edition]

18.10.1.75 query (Query)

Represents an OLAP sheet data cached query.

Parent Elements

queryCache (§18.10.1.76)

Child Elements

Subclause

tpls (Tuples)

§18.10.1.93

Attributes

Description

mdx (MDX Query String)

Specifies the Multidimensional Expressions (MDX) query string.

[Note: Data connectivity can use a number of different technologies. One example of potential values stored in this attribute can be found at: https://msdn2.microsoft.com/en-us/library/ms145595.aspx end note]

See the MDX Language Reference for more information:

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

[Note: The W3C XML Schema definition of this element’s content model (CT_Query) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Query Members

DocumentFormat.OpenXml.Spreadsheet Namespace