TableParts Class

Table Parts.When the object is serialized out as xml, its qualified name is x:tableParts.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • TablePart <x:tablePart>

[ISO/IEC 29500-1 1st Edition]

18.3.1.95 tableParts (Table Parts)

This collection expresses a relationship Id pointing to every table on this sheet.

[Example:This example indicates that the current sheet has two tables, and their definitions can be found by locating the appropriate relationships from the sheet:

<tableParts count="2">
<tablePart r:id="rId1"/>
<tablePart r:id="rId2"/>
</tableParts>

end example]

Parent Elements

worksheet (§18.3.1.99)

Child Elements

Subclause

tablePart (Table Part)

§18.3.1.94

Attributes

Description

count (Count)

A count of table elements in the collection.

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_TableParts) 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

TableParts Members

DocumentFormat.OpenXml.Spreadsheet Namespace