TableParts Class

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

Inheritance Hierarchy


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


<ChildElementInfoAttribute(GetType(TablePart))> _
Public Class TableParts _
    Inherits OpenXmlCompositeElement
Dim instance As TableParts
public class TableParts : OpenXmlCompositeElement


The following table lists the possible child types:

  • TablePart <x:tablePart>

[ISO/IEC 29500-1 1st Edition] 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"/>

end example]

Parent Elements

worksheet (§

Child Elements


tablePart (Table Part)




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


TableParts Members

DocumentFormat.OpenXml.Spreadsheet Namespace