Share via


DataFields Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • DataField <x:dataField>

[ISO/IEC 29500-1 初版]

18.10.1.23 dataFields (Data Fields)

Represents the collection of items in the data region of the PivotTable.

[Example:

<dataFields count="1">
<dataField name="Sum of Sales Amount" fld="25" baseField="0" baseItem="0"/>
</dataFields>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

dataField (Data Field Item)

§18.10.1.22

Attributes

Description

count (Data Items Count)

Specifies the number of items in the data region of the PivotTable.

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_DataFields) 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

DataFields Members

DocumentFormat.OpenXml.Spreadsheet Namespace