CsvOptions Constructor (String, Char, Char, String) |
Create a CSV Wrapper using the specified sample file with their headers.
Namespace:
FileHelpers.Options
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntaxpublic CsvOptions(
string className,
char delimiter,
char headerDelimiter,
string sampleFile
)
Public Sub New (
className As String,
delimiter As Char,
headerDelimiter As Char,
sampleFile As String
)
Parameters
- className
- Type: SystemString
The name of the record class - delimiter
- Type: SystemChar
The delimiter for each field - headerDelimiter
- Type: SystemChar
The delimiter for the header line - sampleFile
- Type: SystemString
A sample file with a header that contains the names of the fields.
See Also