TableColumns Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • TableColumn <x:tableColumn>

[ISO/IEC 29500-1 1st Edition]

18.5.1.4 tableColumns (Table Columns)

An element representing the collection of all table columns for this table.

Parent Elements

table (§18.5.1.2)

Child Elements

Subclause

tableColumn (Table Column)

§18.5.1.3

Attributes

Description

count (Column Count)

An integer representing the total count of how many columns there are in this Table. This count shall include both query-defined and user-defined columns.

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

TableColumns Members

DocumentFormat.OpenXml.Spreadsheet Namespace