CacheHierarchies Class

PivotCache Hierarchies.When the object is serialized out as xml, its qualified name is x:cacheHierarchies.

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(CacheHierarchy))> _
Public Class CacheHierarchies _
    Inherits OpenXmlCompositeElement
用法
Dim instance As CacheHierarchies
[ChildElementInfoAttribute(typeof(CacheHierarchy))]
public class CacheHierarchies : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CacheHierarchy <x:cacheHierarchy>

[ISO/IEC 29500-1 第 1 个版本]

18.10.1.5 cacheHierarchies (PivotCache Hierarchies)

Represents the collection of OLAP hierarchies in the PivotCache.

[Example:

<cacheHierarchies count="2">
<cacheHierarchy uniqueName="[Account].[Account]" caption="Account"
attribute="1" keyAttribute="1"
defaultMemberUniqueName="[Account].[Account].[All Accounts]"
allUniqueName="[Account].[Account].[All Accounts]"
dimensionUniqueName="[Account]" count="0"/>
  <cacheHierarchy uniqueName="[Account].[Account Number]" caption="Account
Number" attribute="1" defaultMemberUniqueName="[Account].[Account
Number].[All Accounts]" allUniqueName="[Account].[Account Number].[All
Accounts]" dimensionUniqueName="[Account]" count="0"/>
</cacheHierarchies>

end example]

Parent Elements

pivotCacheDefinition (§18.10.1.67)

Child Elements

Subclause

cacheHierarchy (PivotCache Hierarchy)

§18.10.1.6

Attributes

Description

count (Hierarchy Count)

Specifies the number of OLAP hierarchies in the cache.

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_CacheHierarchies) is located in §A.2. end note]

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

CacheHierarchies Members

DocumentFormat.OpenXml.Spreadsheet Namespace