Click or drag to resize

CsvOptions Class

Class used to pass information to the CsvClassBuilder and the CsvEngine
Inheritance Hierarchy
SystemObject
  FileHelpers.OptionsCsvOptions

Namespace:  FileHelpers.Options
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class CsvOptions

The CsvOptions type exposes the following members.

Constructors
  NameDescription
Public methodCsvOptions(String, Char, Int32)
Create a CSV Wrapper using the specified number of fields.
Public methodCsvOptions(String, Char, String)
Create a CSV Wrapper using the specified sample file with their headers.
Public methodCsvOptions(String, Char, Char, String)
Create a CSV Wrapper using the specified sample file with their headers.
Public methodCsvOptions(String, Char, Int32, Int32)
Create a CSV Wrapper using the specified number of fields.
Top
Properties
  NameDescription
Public propertyDateFormat
The DateFormat used to read and write DateTime values
Public propertyDecimalSeparator
The Decimal Separator used to read and write doubles, singles and decimal values
Public propertyDelimiter
The delimiter for each field.
Public propertyEncoding
Encoding used when handling the CSV files.
Public propertyFieldsPrefix
The prefix used when you only specified the number of fields
Public propertyHeaderDelimiter
The delimiter for each file name in the header.
Public propertyHeaderLines
The number of header lines
Public propertyIgnoreEmptyLines
Should blank lines in the source file be left out of the final result?
Public propertyIncludeHeaderNames
If True, add to the first row the names of the columns taken from DataTable and also update the value of HeaderLines option to 1
Public propertyNumberOfFields
The number of fields that the file contains.
Public propertyRecordClassName
The name used for the record class (a valid .NET class).
Public propertySampleFileName
A sample file from where to read the field names and number.
Top
See Also