# ProjectDataTable

Bounded immutable text table shared by CSV and Excel adapters.

Class 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ProjectDataTable.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Data/ProjectDataTable.cs#L86)

**Modifiers**

sealed

Bounded immutable text table shared by CSV and Excel adapters.

## Inheritance

- object
- ProjectDataTable

## Usage

Explore 2 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 1

- Property [ProjectMappedTable.Table](/api/project/officeimo-project-projectmappedtable/#property-table)

### Accepted by parameters 1

- Constructor [ProjectMappedTable.ProjectMappedTable](/api/project/officeimo-project-projectmappedtable/#constructor-ctor-officeimo-project-projectdatakind-officeimo-project-projectdatatable-collections-generic-ienumerable-officeimo-project-projectdatacolumn) parameter `table`

Filter members 

Show inherited

## Constructors

`public ProjectDataTable(IEnumerable<string> headers, IEnumerable<IReadOnlyList<string?>> rows, int maxRows = 100000, int maxCells = 2000000, int maxCellCharacters = 32767)` [#](#constructor-ctor-collections-generic-ienumerable-system-string-collections-generic-ienumerable-system-collections-generic-ireadonlylist-system-string-int32-int32-int32)

[ProjectDataTable.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Data/ProjectDataTable.cs#L86)

Copies headers and rows, rejecting inconsistent widths and enforcing row/cell bounds.

Parameters

**headers System.Collections.Generic.IEnumerable<string> required**

**rows System.Collections.Generic.IEnumerable<System.Collections.Generic.IReadOnlyList<string?>> required**

**maxRows int = 100000 optional**

**maxCells int = 2000000 optional**

**maxCellCharacters int = 32767 optional**

## 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 IReadOnlyList<string> Headers { get; }` [#](#property-headers)

[ProjectDataTable.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Data/ProjectDataTable.cs#L105)

External headers.

`public IReadOnlyList<IReadOnlyList<string?>> Rows { get; }` [#](#property-rows)

[ProjectDataTable.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Data/ProjectDataTable.cs#L107)

Rows in source order. Null and empty cells both import as absent values.

<!-- PowerForge markdown artifact sha256:3290BFE76A1D0EA4D451894DA2E81110F908603F7B4A0E262295D85A652FB92F -->
