次の方法で共有


RowFields Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Field <x:field>

[ISO/IEC 29500-1 初版]

18.10.1.81 rowFields (Row Fields)

Represents the collection of row fields for the PivotTable.

DocumentFormat.OpenXml.Spreadsheet.RowFields-image

In the image above, the blue field is a row field. A PivotTable report that has more than one row field has one inner row field (Sport, in the example below), the one closest to the data area. Any other row fields are outer row fields (Region, in the example below). Items in the outermost row field are displayed only once, but items in the rest of the row fields are repeated as needed.

[Example:

DocumentFormat.OpenXml.Spreadsheet.RowFields-image

In the image above, Region is an outer row field. Sport is an inner row field.

<rowFields count="2">
<field x="7"/>
<field x="8"/>
</rowFields> 

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

field (Field)

§18.10.1.29

Attributes

Description

count (Repeated Items Count)

Specifies the number of repeated items in the collection.

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

RowFields Members

DocumentFormat.OpenXml.Spreadsheet Namespace