Share via


CacheFields Class

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

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(CacheField))> _
Public Class CacheFields _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As CacheFields
[ChildElementInfoAttribute(typeof(CacheField))]
public class CacheFields : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CacheField <x:cacheField>

[ISO/IEC 29500-1 初版]

18.10.1.4 cacheFields (PivotCache Fields)

Represents the collection of field definitions in the source data.

[Example:

<cacheFields count="1">
<cacheField name="Group" numFmtId="0">
<sharedItems count="3">
<s v="One"/>
<s v="Two"/>
<s v="Three"/>
</sharedItems>
</cacheField>
</cacheFields>

end example]

Parent Elements

pivotCacheDefinition (§18.10.1.67)

Child Elements

Subclause

cacheField (PivotCache Field)

§18.10.1.3

Attributes

Description

count (Field Count)

Specifies the number of fields 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_CacheFields) is located in §A.2. end note]

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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

CacheFields Members

DocumentFormat.OpenXml.Spreadsheet Namespace