Partager via


CalculatedMembers Class

Calculated Members.When the object is serialized out as xml, its qualified name is x:calculatedMembers.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • CalculatedMember <x:calculatedMember>

[ISO/IEC 29500-1 1st Edition]

18.10.1.11 calculatedMembers (Calculated Members)

Represents the collection of calculated members in an OLAP PivotTable.

[Example:

<calculatedMembers count="1">
<calculatedMember name="[Product].[Product Categories].[All
Products].[Calculated Member]" mdx="'[Product].[Product Categories].[All
Products].[Accessories]'" memberName="Calculated Member"
hierarchy="[Product].[Product Categories]" parent="[Product].[Product
Categories].[All Products]"/>
</calculatedMembers>

end example]

Parent Elements

pivotCacheDefinition (§18.10.1.67)

Child Elements

Subclause

calculatedMember (Calculated Member)

§18.10.1.10

Attributes

Description

count (Calculated Members Count)

Specifies the number of calculated members.

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_CalculatedMembers) 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

CalculatedMembers Members

DocumentFormat.OpenXml.Spreadsheet Namespace