CsvWriter Methods |
The CsvWriter type exposes the following members.
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.
|