PivotRow class

Office 2013 and later

Defines the PivotRow Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:pivotRow.

Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.6.134 CT_PivotRow

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: CT_PivotTableData

A complex type that specifies a single row of PivotValueCells in the pivotTableData element of a PivotTable ([ISO/IEC-29500-1] section 18.10) specified by the pivotTableReference element in the extension of a workbook as specified by section 2.2.4.10.<110>

Child Elements:

c: A CT_PivotValueCell element that specifies a PivotValueCell.

Attributes:

r: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the row index of this element. MUST be within the range of items as specified by the rowCount attribute of the complex type CT_PivotTableData.

count: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of child elements of type CT_PivotValueCell in the current pivotRow element. MUST be less than or equal to the value specified by the columnCount attribute of complex type CT_PivotTableData.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_PivotRow">

<xsd:sequence>

<xsd:element name="c" type="CT_PivotValueCell" minOccurs="1" maxOccurs="unbounded"/>

</xsd:sequence>

<xsd:attribute name="r" type="xsd:unsignedInt" use="optional"/>

<xsd:attribute name="count" type="xsd:unsignedInt" use="required"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: