Enum
CsvQuoteParsingMode
OfficeIMO.CSV
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
- Field CsvQuoteParsingMode.Lenient
- Field CsvQuoteParsingMode.None
- Field CsvQuoteParsingMode.Strict
- Property CsvReaderOptions.QuoteParsingMode
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const CsvQuoteParsingMode Lenient #Preserve the forgiving parser behavior used by PowerShell-style CSV import workflows.
Value:
0public const CsvQuoteParsingMode Strict #Reject malformed quoted fields instead of falling back to permissive parsing.
Value:
1public const CsvQuoteParsingMode None #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 encodes them. This is the IANA text/tab-separated-values rule used by CsvProfile.Tsv.
Value:
2