officefileapi-devexpress-dot-xtraspreadsheet-dot-export-b460dca0.md
Lists values used to specify how to quote text fields in the exported CSV or TXT file.
Namespace : DevExpress.XtraSpreadsheet.Export
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum TextQuotationMode
Public Enum TextQuotationMode
| Name | Description |
|---|---|
Auto |
Specifies that a text field should be quoted only if it contains special characters (such as a delimiter, quotation mark, or newline).
|
| Always |
Specifies that all text fields should be enclosed in quotation marks.
|
| Never |
Specifies that text fields should never be enclosed in quotation marks.
|
The following properties accept/return TextQuotationMode values:
The values listed by this enumeration are used by the CsvDocumentExporterOptions.QuotationMode and TxtDocumentExporterOptions.QuotationMode properties.
See Also