Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

CsvQuoteMode

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 when CSV fields are quoted while writing.

Inheritance

  • Enum
  • CsvQuoteMode

Usage

Explore 4 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 CsvQuoteMode AsNeeded #

Quote only fields that require quoting because they contain a quote, newline, carriage return, or delimiter.

Value: 0
public const CsvQuoteMode Always #

Quote every field.

Value: 1
public const CsvQuoteMode Never #

Never quote fields. A field containing the delimiter, a carriage return or a line feed cannot be represented and fails the write, unless CsvSaveOptions.EscapeMode is CsvEscapeMode.Backslash. Quote characters are written as ordinary data.

Value: 2