# CsvQuoteParsingMode

Controls whether quote characters delimit fields and how malformed quoted fields are handled.

Enum 

`OfficeIMO.CSV`

**Namespace**

`OfficeIMO.CSV`

**Assembly**

`OfficeIMO.CSV`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[CsvQuoteParsingMode.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvQuoteParsingMode.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Controls whether quote characters delimit fields and how malformed quoted fields are handled.

## Inheritance

- Enum
- CsvQuoteParsingMode

## Usage

Explore 5 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 5

- Property [CsvLoadOptions.QuoteParsingMode](/api/csv/officeimo-csv-csvloadoptions/#property-quoteparsingmode)
- Field [CsvQuoteParsingMode.Lenient](/api/csv/officeimo-csv-csvquoteparsingmode/#field-lenient)
- Field [CsvQuoteParsingMode.None](/api/csv/officeimo-csv-csvquoteparsingmode/#field-none)
- Field [CsvQuoteParsingMode.Strict](/api/csv/officeimo-csv-csvquoteparsingmode/#field-strict)
- Property [CsvReaderOptions.QuoteParsingMode](/api/csv/officeimo-csv-csvreaderoptions/#property-quoteparsingmode)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const CsvQuoteParsingMode Lenient` [#](#field-lenient)

[CsvQuoteParsingMode.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvQuoteParsingMode.cs#L11)

Preserve the forgiving parser behavior used by PowerShell-style CSV import workflows.

Value: `0`

`public const CsvQuoteParsingMode Strict` [#](#field-strict)

[CsvQuoteParsingMode.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvQuoteParsingMode.cs#L16)

Reject malformed quoted fields instead of falling back to permissive parsing.

Value: `1`

`public const CsvQuoteParsingMode None` [#](#field-none)

[CsvQuoteParsingMode.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvQuoteParsingMode.cs#L23)

Treat quote characters as ordinary field data. Every line break ends a record, so fields cannot contain the delimiter or a line break unless [CsvEscapeMode.Backslash](/api/csv/officeimo-csv-csvescapemode/) encodes them. This is the IANA text/tab-separated-values rule used by [CsvProfile.Tsv](/api/csv/officeimo-csv-csvprofile/).

Value: `2`

<!-- PowerForge markdown artifact sha256:54E7DEF25EBAB1DBF80E865172475981D85FEA4D262724717C791B1D124CE934 -->
