Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

CsvEscapeMode

OfficeIMO.CSV

Namespace
OfficeIMO.CSV
Assembly
OfficeIMO.CSV
Source revision
0eef6a5756b9 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

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.

Values

public const CsvEscapeMode None #

Fields are written and read literally.

Value: 0
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