Click or drag to resize
CsvWriter Methods

The CsvWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes and releases all related resources.
(Inherited from WriterBase.)
Public methodEndRecord
Ends the current record by sending the record delimiter.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Inherited from WriterBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite(String)
Writes another column of data to this record. Does not preserve leading and trailing whitespace in this column of data.
Public methodWrite(String, Boolean)
Writes another column of data to this record.
Public methodWriteAll(DataTable)
Writes all data from the DataTable. Writes the column name headers as the first record in the output data.
Public methodWriteAll(DataTable, Boolean)
Writes all data from the DataTable.
Public methodWriteComment
Writes comment text out to the file using the Comment character.
Public methodWriteRecord(String)
Writes a new record using the passed in array of values.
Public methodWriteRecord(String, Boolean)
Writes a new record using the passed in array of values.
Top
See Also