• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CsvLoadOptions

Load options for CSV (comma-separated values) files.

Inheritance
object
CsvLoadOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class CsvLoadOptions

Constructors

CsvLoadOptions()

Load options for CSV (comma-separated values) files.

Declaration
public CsvLoadOptions()

Properties

CancellationToken

Token that can cancel the load operation before it starts.

Declaration
public CancellationToken CancellationToken { get; set; }
Property Value
Type Description
CancellationToken

Delimiter

Specifies the field delimiter character. Default is comma (',').

Declaration
public char Delimiter { get; set; }
Property Value
Type Description
char

Encoding

Specifies the text encoding for reading the CSV file. Default is UTF-8.

Declaration
public Encoding Encoding { get; set; }
Property Value
Type Description
Encoding

HasFormulas

Gets or sets whether values starting with '=' are treated as formulas. Default is true.

Declaration
public bool HasFormulas { get; set; }
Property Value
Type Description
bool

TrimWhitespace

Gets or sets whether leading and trailing whitespace is trimmed from each field. Default is true.

Declaration
public bool TrimWhitespace { get; set; }
Property Value
Type Description
bool
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX