TupleSet class
Defines the TupleSet Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:tupleSet.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.TupleSet
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.6.16 CT_TupleSet
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: CT_CalculatedMember
A complex type that specifies an OLAP named set.
Child Elements:
headers: A CT_TupleSetHeaders element that specifies the MDX unique names of the OLAP hierarchies and the MDX unique names of the OLAP levels specified by this OLAP named set.
rows: A CT_TupleSetRows element that specifies the OLAP tuples specified by this OLAP named set.
Attributes:
rowCount: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of OLAP tuples specified by this OLAP named set. MUST equal the number of CT_TupleSetRow elements within the rows element. rowCount * columnCount MUST be less than or equal to 3,000.
columnCount: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the number of MDX unique names of the OLAP hierarchies and the MDX unique names of the OLAP levels specified by this OLAP named set. MUST equal the number of CT_TupleSetHeader elements within the headers element. rowCount * columnCount MUST be less than or equal to 3,000.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_TupleSet">
<xsd:sequence>
<xsd:element name="headers" type="CT_TupleSetHeaders" minOccurs="1" maxOccurs="1"/>
<xsd:element name="rows" type="CT_TupleSetRows" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="rowCount" type="xsd:unsignedInt" use="optional" default="1"/>
<xsd:attribute name="columnCount" type="xsd:unsignedInt" use="optional" default="1"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).