# ExcelTableColumnInfo

Represents a column inside an Excel table.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelTableInfo.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelTableInfo.cs#L10)

**Modifiers**

sealed

Represents a column inside an Excel table.

## Inheritance

- object
- ExcelTableColumnInfo

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Method [ExcelSheet.ResizeTable](/api/excel/officeimo-excel-excelsheet/#method-resizetable-string-string)
- Method [ExcelSheet.SetTableSchema](/api/excel/officeimo-excel-excelsheet/#method-settableschema-string-collections-generic-ireadonlylist-system-string-string)
- Property [ExcelTableInfo.Columns](/api/excel/officeimo-excel-exceltableinfo/#property-columns)

Filter members 

Show inherited

## Constructors

`public ExcelTableColumnInfo(int index, string name, string? totalsRowFunction = null)` [#](#constructor-ctor-int32-string-string)

[ExcelTableInfo.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelTableInfo.cs#L10)

Initializes a new instance of the [ExcelTableColumnInfo](/api/excel/officeimo-excel-exceltablecolumninfo/) class.

Parameters

**index int required**

1-based column index inside the table.

**name string required**

Column name.

**totalsRowFunction string? = null optional**

Totals row function name, when one is assigned.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Index { get; }` [#](#property-index)

[ExcelTableInfo.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelTableInfo.cs#L17)

1-based column index inside the table.

`public string Name { get; }` [#](#property-name)

[ExcelTableInfo.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelTableInfo.cs#L20)

Column name.

`public string? TotalsRowFunction { get; }` [#](#property-totalsrowfunction)

[ExcelTableInfo.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelTableInfo.cs#L23)

Totals row function name, when one is assigned.

<!-- PowerForge markdown artifact sha256:6E698D39C935F88C4217772D27F882EB1B0B99EF48119EEA7CB9CB697677B787 -->
