Enum
CsvEscapeMode
OfficeIMO.CSV
Controls escape sequences inside unquoted fields. Escapes require unquoted fields: CsvQuoteParsingMode.None when reading and CsvQuoteMode.Never when writing.
Inheritance
- Enum
- CsvEscapeMode
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
- Field CsvEscapeMode.Backslash
- Field CsvEscapeMode.None
- Property CsvLoadOptions.EscapeMode
- Property CsvReaderOptions.EscapeMode
- Property CsvSaveOptions.EscapeMode
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 CsvEscapeMode Backslash #Backslash escapes as used by PostgreSQL COPY text format and linear TSV: \t is a tab, \n a line feed, \r a carriage return and \\ a backslash. Writing encodes those four characters. Reading decodes them and keeps any other backslash sequence, such as PostgreSQL's \N null marker, as literal text.
Value:
1