CsvImportOptions Class

Options for CsvImportOptions).

Inheritance

Object

Documents.Spreadsheet.CsvImportOptions

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public sealed class CsvImportOptions

Constructors

CsvImportOptionslink

Options for CsvImportOptions).

Declaration
public CsvImportOptions()

Properties

Encodinglink

Encoding used to decode the input. Byte-order marks at the start of the stream are auto-detected and consumed regardless of this setting.

Declaration
public Text.Encoding Encoding { get; set; }
Property Value
Type Description
Text.EncodingEncoding used to decode the input. Byte-order marks at the start of the stream are auto-detected and consumed regardless of this setting.

ParseFormulaslink

When true, fields that begin with = are stored as formulas; the cached value is computed by the formula evaluator. When false, such fields are stored as plain text.

Declaration
public bool ParseFormulas { get; set; }
Property Value
Type Description
boolWhen true, fields that begin with = are stored as formulas; the cached value is computed by the formula evaluator. When false, such fields are stored as plain text.

ParseValueslink

When true, fields that look like numbers, dates, or booleans are stored as the typed value. When false, every cell is stored as a string.

Declaration
public bool ParseValues { get; set; }
Property Value
Type Description
boolWhen true, fields that look like numbers, dates, or booleans are stored as the typed value. When false, every cell is stored as a string.

QuoteCharlink

The character used to quote fields. Defaults to ".

Declaration
public char QuoteChar { get; set; }
Property Value
Type Description
charThe character used to quote fields. Defaults to ".

Separatorlink

The field separator. Defaults to ,.

Declaration
public char Separator { get; set; }
Property Value
Type Description
charThe field separator. Defaults to ,.

SheetNamelink

The name assigned to the resulting sheet.

Declaration
public string SheetName { get; set; }
Property Value
Type Description
stringThe name assigned to the resulting sheet.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙