CsvParseOptions
public sealed class CsvParseOptionsOptions for ChartGuru.CsvParser.Parse(System.String%2cChartGuru.CsvParseOptions). Sensible defaults match the
most common spreadsheet exports (RFC 4180 with auto-detected delimiter
and header).
Fields
Section titled “Fields”
Delimiter
Section titled “Delimiter”public char DelimiterField delimiter. ‘\0’ (default) auto-detects between ,, ;, \t, and |.
Returns
System.Char
public char QuoteField quote character. RFC 4180 uses “.
Returns
System.Char
HeaderMode
Section titled “HeaderMode”public CsvHeaderMode HeaderModeHeader row treatment. ChartGuru.CsvHeaderMode.Auto heuristically
classifies the first row as a header when its cells are all
non-numeric. Set to ChartGuru.CsvHeaderMode.Yes /
ChartGuru.CsvHeaderMode.No to force.
Returns
ChartGuru.CsvHeaderMode
CommentPrefix
Section titled “CommentPrefix”public string CommentPrefixLines starting with this prefix are skipped before parsing. Empty disables.
Returns
System.String
SkipRows
Section titled “SkipRows”public int SkipRowsNumber of physical lines to skip at the top of the file.
Returns
System.Int32
MaxRows
Section titled “MaxRows”public int MaxRowsMaximum data rows to retain (0 = unlimited).
Returns
System.Int32
TrimCells
Section titled “TrimCells”public bool TrimCellsTrim whitespace from every parsed cell.
Returns
System.Boolean
Methods
Section titled “Methods”
Clone()
Section titled “Clone()”public CsvParseOptions Clone()Creates an independent copy of this Csv Parse Options; later configuration changes do not affect the original instance.
Returns
ChartGuru.CsvParseOptions
Constructors
Section titled “Constructors”
CsvParseOptions()
Section titled “CsvParseOptions()”public CsvParseOptions()