![]() | CsvWriter Class |
Namespace: DataStreams.Csv
The CsvWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | CsvWriter(String) |
Creates a CsvWriter object using a file to write
data to. Uses a comma as the delimiter and Encoding.Default
as the encoding.
|
![]() | CsvWriter(TextWriter, Char) |
Creates a CsvWriter object using a TextWriter to
write data to.
|
![]() | CsvWriter(Stream, Char, Encoding) |
Creates a CsvWriter object using a Stream to
write data to.
|
![]() | CsvWriter(String, Char, Encoding) |
Creates a CsvWriter object using a file to write
data to.
|
Name | Description | |
---|---|---|
![]() | Close |
Closes and releases all related resources.
(Inherited from WriterBase.) |
![]() | EndRecord |
Ends the current record by sending the record delimiter.
|
![]() | Equals | (Inherited from Object.) |
![]() | Flush |
Clears all buffers for the current writer and causes any
buffered data to be written to the underlying device.
(Inherited from WriterBase.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write(String) |
Writes another column of data to this record. Does not
preserve leading and trailing whitespace in this column
of data.
|
![]() | Write(String, Boolean) |
Writes another column of data to this record.
|
![]() | WriteAll(DataTable) |
Writes all data from the DataTable.
Writes the column name headers as the first record in the
output data.
|
![]() | WriteAll(DataTable, Boolean) |
Writes all data from the DataTable.
|
![]() | WriteComment |
Writes comment text out to the file using the
Comment character.
|
![]() | WriteRecord(String) |
Writes a new record using the passed in array of values.
|
![]() | WriteRecord(String, Boolean) |
Writes a new record using the passed in array of values.
|
Name | Description | |
---|---|---|
![]() | Settings |
Has all the options that are able to be set that will affect the way
records are written.
|