共用方式為


PivotAreaReferences Class

References.When the object is serialized out as xml, its qualified name is x:references.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • PivotAreaReference <x:reference>

[ISO/IEC 29500-1 1st Edition]

18.10.2.2 references (References)

Represents the set of selected fields and the selected items within those fields.

[Example:

<sh:references count="5">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
  <sh:reference field="2" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
  <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
  <sh:reference field="15" count="2" selected="0">
<sh:x v="2"/>
<sh:x v="3"/>
</sh:reference>
</sh:references>

end example]

Parent Elements

pivotArea (§18.3.1.68)

Child Elements

Subclause

reference (Reference)

§18.10.2.1

Attributes

Description

count (Pivot Filter Count)

Specifies the number of filtered records available in 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_PivotAreaReferences) 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

PivotAreaReferences Members

DocumentFormat.OpenXml.Spreadsheet Namespace