ClassSpreadCsvSettings
Configuration for CSV import controlling delimiter, quote character, and text encoding used while streaming worksheet data.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming.Importers.Csv.Core
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public class SpreadCsvSettings
Inheritance: objectSpreadCsvSettings
Constructors
SpreadCsvSettings()
Initializes a new instance of the SpreadCsvSettings class with culture-aware defaults. By default, Delimiter is the current culture's list separator, Quote is '"', and Encoding is UTF-8 with BOM (Excel-compatible).
Declaration
public SpreadCsvSettings()
Properties
Delimiter
Gets or sets the character that separates fields in each record, falling back to the current culture list separator when unset.
Declaration
public char Delimiter { get; set; }
Property Value
The delimiter symbol.
Encoding
Gets or sets the character encoding applied when reading the CSV stream (defaults to Excel's UTF-8 with BOM for compatibility).
Declaration
public Encoding Encoding { get; set; }
Property Value
The encoding.