CsvReader Constructor (TextReader, Boolean, Char)
Initializes a new instance of the CsvReader class.
Namespace:
LumenWorks.Framework.IO.CsvAssembly: LumenWorks.Framework.IO (in LumenWorks.Framework.IO.dll)
Syntax
public CsvReader( TextReader reader, bool hasHeaders, char delimiter )
Public Sub New ( _ reader As TextReader, _ hasHeaders As Boolean, _ delimiter As Char _ )
public: CsvReader( TextReader^ reader, bool^ hasHeaders, wchar_t^ delimiter )
Parameters
- reader
- Type: TextReader
A TextReader pointing to the CSV file.
- hasHeaders
- Type: Boolean
trueTruetruetrue (True in Visual Basic) if field names are located on the first non commented line, otherwise, falseFalsefalsefalse (False in Visual Basic).
- delimiter
- Type: Char
The delimiter character separating each field (default is ',').