# CsvReadOptions

Options for CSV/TSV adapter behavior.

Class 

`OfficeIMO.Reader.Csv`

**Namespace**

`OfficeIMO.Reader.Csv`

**Assembly**

`OfficeIMO.Reader.Csv`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[CsvReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L10)

**Modifiers**

sealed

Options for CSV/TSV adapter behavior.

## Inheritance

- object
- CsvReadOptions

## Usage

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

### Accepted by parameters 1

- Method [OfficeDocumentReaderBuilderCsvExtensions.AddCsvHandler](/api/reader-csv/officeimo-reader-csv-officedocumentreaderbuildercsvextensions/#method-addcsvhandler-officeimo-reader-officedocumentreaderbuilder-officeimo-reader-csv-csvreadoptions-boolean) parameter `csvOptions`

Filter members 

Show inherited

## Constructors

`public CsvReadOptions()` [#](#constructor-ctor)

[CsvReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L10)

## 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 MaxColumns { get; set; }` [#](#property-maxcolumns)

[CsvReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L10)

Maximum columns accepted from one CSV record. Default: 4,096.

`public int ChunkRows { get; set; }` [#](#property-chunkrows)

[CsvReadOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L15)

Rows per emitted chunk.

`public bool HeadersInFirstRow { get; set; }` [#](#property-headersinfirstrow)

[CsvReadOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L20)

Treat first row as headers.

`public bool IncludeMarkdown { get; set; }` [#](#property-includemarkdown)

[CsvReadOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Csv/CsvReadOptions.cs#L25)

Include markdown table previews in emitted chunks.

<!-- PowerForge markdown artifact sha256:A67ADDFECA2DCB625090DFC8C0AC6758CE89B006635CC345E736AFEF4B81A88D -->
