CachedUniqueName class

Office 2013 and later

Defines the CachedUniqueName Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:cachedUniqueName.


Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class CachedUniqueName : OpenXmlLeafElement

2.6.127 CT_CachedUniqueName

Target namespace:

Referenced by: CT_CachedUniqueNames

A complex type that specifies the MDX unique name for a PivotTable ([ISO/IEC-29500-1] section 18.10) cache item.<103>


index: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies an index of the PivotTable ([ISO/IEC-29500-1] section 18.10) cache item in this PivotTable ([ISO/IEC-29500-1] section 18.10) cache field. MUST be less than count attributes of the CT_Items ([ISO/IEC-29500-4] section A.2) element specified by the ancestor CT_CacheField ([ISO/IEC-29500-4] section A.2) element. MUST be unique within parent CT_CachedUniqueNames (section 2.6.126) collection.

name: An ST_Xstring ([ISO/IEC-29500-1] section attribute that specifies the MDX unique name. MUST be less than or equal to 65,535 characters in length.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_CachedUniqueName">

<xsd:attribute name="index" use="required" type="xsd:unsignedInt"/>

<xsd:attribute name="name" use="required" type="x:ST_Xstring"/>


See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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