[]
Option class for saving csv file.
public class CsvSaveOptions : SaveOptionsBase
Constructor.
public CsvSaveOptions()
Gets or sets a char value as cell separator.
public char CellSeparator { get; set; }
Gets or sets a string value as column separator.
public string ColumnSeparator { get; set; }
Gets or sets the default encoding, default is utf-8.
public Encoding Encoding { get; set; }
Specify some columns to be quoted, while the remaining columns not to be quoted. Column numbers start from 0, and specifying invalid column has no effect.
public IEnumerable<int> QuoteColumns { get; set; }
Gets or sets a string value as row separator.
public string RowSeparator { get; set; }
Gets or sets a string value as column separator.
[Obsolete("SeparatorString is obsolete, use ColumnSeparator.")]
public string SeparatorString { get; set; }
Indicates whether leading blank rows and columns should be trimmed like what ms excel does.Defalut is true;
public bool TrimLeadingBlankRowAndColumn { get; set; }
Gets or sets how to quote values in the exported text file.
public ValueQuoteType ValueQuoteType { get; set; }