This documentation is archived and is not being maintained.

FieldUsage Class

PivotCache Field Id.When the object is serialized out as xml, its qualified name is x:fieldUsage.

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

public class FieldUsage : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

18.10.1.32 fieldUsage (PivotCache Field Id)

Represents a cache field used in this hierarchy.

[Example:

<fieldUsage x="-1"/>

end example]

Parent Elements

fieldsUsage (§18.10.1.31)

Attributes

Description

x (Field Index)

Specifies the index of a field.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_FieldUsage) 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.
Show: