This documentation is archived and is not being maintained.

FieldsUsage Class

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

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

public class FieldsUsage : OpenXmlCompositeElement

The following table lists the possible child types:

  • FieldUsage <x:fieldUsage>

[ISO/IEC 29500-1 1st Edition] fieldsUsage (Fields Usage)

Represents the fields in the cache that are being used by this hierarchy.


<fieldsUsage count="6">
<fieldUsage x="-1"/>
<fieldUsage x="2"/>
<fieldUsage x="3"/>
<fieldUsage x="4"/>
<fieldUsage x="5"/>
<fieldUsage x="6"/>

end example]

Parent Elements

cacheHierarchy (§

Child Elements


fieldUsage (PivotCache Field Id)




count (Field Count)

Specifies the number of fields that are being used by this hierarchy.

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

© ISO/IEC29500: 2008.

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