Table of Contents

Enum CsvMode

Namespace
CsvHelper
Assembly
CsvHelper.dll

Mode to use when parsing and writing.

public enum CsvMode

Fields

Escape = 1

Uses escapes. If a field contains a Delimiter, NewLine, or Escape, it is preceded by Escape. Newline defaults to \n.

NoEscape = 2

Doesn't use quotes or escapes. This will ignore quoting and escape characters. This means a field cannot contain a Delimiter, Quote, or NewLine, as they cannot be escaped.

RFC4180 = 0

Uses RFC 4180 format (default). If a field contains a Delimiter or NewLine, it is wrapped in Quotes. If quoted field contains a Quote, it is preceded by Escape.