Class SpreadCsvSettings
Configuration for CSV import controlling delimiter, quote character, and text encoding used while streaming worksheet data.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming.Importers.Csv.Core
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadCsvSettings
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
|
System.Char
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
|
System.Text.Encoding
The encoding. |
Quote
Gets or sets the text qualifier enclosing field values that contain the delimiter or line breaks (defaults to ").
Declaration
public char Quote { get; set; }
Property Value
|
System.Char
The quote symbol. |