Partager via


PageFields Class

Page Field Items.When the object is serialized out as xml, its qualified name is x:pageFields.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(PageField))> _
Public Class PageFields _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PageFields
[ChildElementInfoAttribute(typeof(PageField))]
public class PageFields : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • PageField <x:pageField>

[ISO/IEC 29500-1 1st Edition]

18.10.1.63 pageFields (Page Field Items)

Represents the collection of items in the page or report filter region of the PivotTable.

[Example:

<sh:pageFields count="2">
<sh:pageField fld="43" hier="103"
name="[Product].[Product Categories].[All Products]" cap="All Products"/>
<sh:pageField fld="66" hier="126"
name="[Promotion].[Promotions].[All Promotions]" cap="All Promotions"/>
</sh:pageFields> 

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

pageField (Page Field)

§18.10.1.62

Attributes

Description

count (Page Item Count)

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

© ISO/IEC29500: 2008.

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

PageFields Members

DocumentFormat.OpenXml.Spreadsheet Namespace