Compartilhar via


Mdx Class

MDX Metadata Record.When the object is serialized out as xml, its qualified name is x:mdx.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(MdxMemberProp))> _
<ChildElementInfoAttribute(GetType(MdxKpi))> _
<ChildElementInfoAttribute(GetType(MdxSet))> _
<ChildElementInfoAttribute(GetType(MdxTuple))> _
Public Class Mdx _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Mdx
[ChildElementInfoAttribute(typeof(MdxMemberProp))]
[ChildElementInfoAttribute(typeof(MdxKpi))]
[ChildElementInfoAttribute(typeof(MdxSet))]
[ChildElementInfoAttribute(typeof(MdxTuple))]
public class Mdx : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • MdxTuple <x:t>

  • MdxSet <x:ms>

  • MdxMemberProp <x:p>

  • MdxKpi <x:k>

[ISO/IEC 29500-1 1st Edition]

18.9.6 mdx (MDX Metadata Record)

This element represents a single record of MDX metadata information which can express a tuple, KPI, set, or member property.

Parent Elements

mdxMetadata (§18.9.7)

Child Elements

Subclause

k (KPI MDX Metadata)

§18.9.5

ms (Set MDX Metadata)

§18.9.12

p (Member Property MDX Metadata)

§18.9.14

t (Tuple MDX Metadata)

§18.9.16

Attributes

Description

f (Cube Function Tag)

This is an enumeration representing the function type of the calling cube function from the spreadsheet.

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

n (Connection Name Index)

The zero based index of connection name in metadata string store, metadataStrings.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Mdx) 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

Mdx Members

DocumentFormat.OpenXml.Spreadsheet Namespace