Class
SpreadCsvSettings

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:

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public char Delimiter { get; set; }

Property Value

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

cs-api-definition
public Encoding Encoding { get; set; }

Property Value

Encoding

The encoding.

Quote

Gets or sets the text qualifier enclosing field values that contain the delimiter or line breaks (defaults to ").

Declaration

cs-api-definition
public char Quote { get; set; }

Property Value

char

The quote symbol.