ExcelFileCsvAlwaysQuoteValues Property

Note: This API is now obsolete.

Gets or sets whether SaveCsv() methods will always put values in quotes.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
[ObsoleteAttribute("Use 'GemBox.Spreadsheet.CsvSaveOptions.AlwaysQuoteValues' property instead. For more info, see https://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelFileCsvAlwaysQuoteValues.")]
public bool CsvAlwaysQuoteValues { get; set; }

Property Value

Type: Boolean

Default value for this property is .

All values (including numbers) in CSV files are stored as text. If this property is , any of SaveCsv(String, Char) overloads will always put values in quotes. If this property is , only values that contain special characters (quotes or CSV separator) will be quoted.

See Also