Class CsvOptions
Configuration options for CSV import and export operations.
public class CsvOptions
- Inheritance
-
CsvOptions
- Inherited Members
Properties
AutoDetectDataTypes
Gets or sets whether to auto-detect data types.
public bool AutoDetectDataTypes { get; set; }
Property Value
Culture
Gets or sets the number format culture (e.g., "en-US", "de-DE").
public string Culture { get; set; }
Property Value
DateFormat
Gets or sets the date format for parsing date values.
public string DateFormat { get; set; }
Property Value
Delimiter
Gets or sets the delimiter character used to separate values.
public string Delimiter { get; set; }
Property Value
Encoding
Gets or sets the encoding for reading/writing the CSV file.
public Encoding Encoding { get; set; }
Property Value
HasHeaders
Gets or sets whether the first row contains headers.
public bool HasHeaders { get; set; }
Property Value
MaxRows
Gets or sets the maximum number of rows to import (0 = no limit).
public int MaxRows { get; set; }
Property Value
SkipEmptyLines
Gets or sets whether to skip empty lines during import.
public bool SkipEmptyLines { get; set; }
Property Value
TextQualifier
Gets or sets the text qualifier character (e.g., quote character).
public string TextQualifier { get; set; }
Property Value
TrimWhitespace
Gets or sets whether to trim whitespace from values.
public bool TrimWhitespace { get; set; }