CSV Engine Documentation Contents
AldenSystems.CSVEngine
CSV Engine Class Library

Reader Constructor (String, Boolean, Boolean, FormatInfo)

This constructor is available in the commercial version only.

Instantiates an instance of a Reader for the CSV file located at the specified path and indicates that the file contains a row of column headers.

[Visual Basic]
Overloads Public Sub New( _
ByVal filePath As String, _
ByVal hasHeader As Boolean, _
ByVal enableProgress As Boolean, _
ByVal formatInfo As FormatInfo _
)
[C#]
public Reader(
string filePath,
bool hasHeader,
bool enableProgress,
FormatInfo formatInfo
);

Parameters

filePath
The system path to the CSV file to be read.
hasHeader
A flag indicating if the file contains header columns.
enableProgress
Indicates if the progress property should be enabled.
formatInfo
A FormatInfo object describing the format of the source file.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if formatInfo or filePath is null.

See Also

Reader Class | AldenSystems.CSVEngine Namespace | Reader Constructor Overload List