Enum
CsvQuoteMode
OfficeIMO.CSV
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.
Returned or exposed by 4
- Field CsvQuoteMode.Always
- Field CsvQuoteMode.AsNeeded
- Field CsvQuoteMode.Never
- Property CsvSaveOptions.QuoteMode
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 CsvQuoteMode AsNeeded #Quote only fields that require quoting because they contain a quote, newline, carriage return, or delimiter.
Value:
0public 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