Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PivotCacheRecord class
Collapse the table of content
Expand the table of content

PivotCacheRecord class

PivotCache Record. When the object is serialized out as xml, its qualified name is x:r.

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

public class PivotCacheRecord : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

r (PivotCache Record)

Represents a single record of data in the PivotCache.


  <s v="3550"/>
  <s v="Road-150 Red, 62"/>
  <s v="This bike is ridden by race winners. Developed with the Adventure Works     Cycles professional race team, it has a extremely light heat-treated     aluminum frame, and steering that allows precision control."/>
  <s v="No Discount"/>
  <x v="0"/>
  <s v="Australian Dollar"/>
  <n v="1"/>
  <n v="3578.27"/>
  <n v="0"/>
  <n v="2171.2941999999998"/>
  <n v="3578.27"/>
  <n v="89.456800000000001"/>

end example]

Parent Elements

pivotCacheRecords (§

Child Elements


b (Boolean)


d (Date Time)


e (Error Value)


m (No Value)


n (Numeric)


s (Character Value)


x (Shared Items Index)


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