CsvDataReader Class |
Namespace: DataStreams.Csv
The CsvDataReader type exposes the following members.
Name | Description | |
---|---|---|
CsvDataReader(TextReader) |
Constructs a CsvDataReader object using
a TextReader object as the data
source. Uses a comma as the column delimiter.
| |
CsvDataReader(String) |
Creates a CsvDataReader object using a
file as the data source. Uses a comma as the column
delimiter and Default as the
encoding.
| |
CsvDataReader(Stream, Encoding) |
Constructs a CsvDataReader object using
a Stream object as the data
source. Uses a comma as the column delimiter.
| |
CsvDataReader(TextReader, Char) |
Constructs a CsvDataReader object using
a TextReader object as the data
source.
| |
CsvDataReader(String, Char) |
Creates a CsvDataReader object using a
file as the data source. Uses Default
as the encoding.
| |
CsvDataReader(Stream, Char, Encoding) |
Constructs a CsvDataReader object using
a Stream object as the data
source.
| |
CsvDataReader(String, Char, Encoding) |
Creates a CsvDataReader object using a
file as the data source.
|
Name | Description | |
---|---|---|
Close |
Closes and releases all related resources.
(Inherited from DataReaderBase.) | |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
Parse |
Creates a CsvDataReader object using
a string of data as the source. Uses Default
as the encoding.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Columns |
Collection of columns to include in the source data.
| |
Settings |
Has all the options that are able to be set that will affect the way
records are parsed.
|
Name | Description | |
---|---|---|
ReadRecord |
This event is raised after each record has been read and before
the values have been converted to the destination type. This event
can be used to modify values in a record, add values to a record,
or skip a record entirely.
(Inherited from DataReaderBase.) |