CsvQuoteMode Enum

Specifies when CsvWriter and Utf8CsvWriter quote the values they write.

public enum CsvQuoteMode

Fields

NameValueDescription
AsNeeded0A value is quoted when it contains the separator, the quote character, a line terminator or a character of the new line string.
Always1Every value is quoted.
Never2No value is quoted: values are written as they are. A value that contains the separator, the quote character or a line terminator does not read back as it was written.