CSVWriter Class

/// Writes CSV objects to a stream ///
Public Class CSVWriter 
Implements IDisposable
This language is not supported or no code example is available.
public class CSVWriter : IDisposable
This language is not supported or no code example is available.
public ref class CSVWriter  : public IDisposable^
This language is not supported or no code example is available.
public class CSVWriter 
implements IDisposable
This language is not supported or no code example is available.
Name Description
Public constructor CSVWriter(Stream, CSVSettings) /// Construct a new CSV writer to produce output on the enclosed stream ///
Public constructor CSVWriter(StreamWriter, CSVSettings) /// Construct a new CSV writer to produce output on the enclosed StreamWriter ///
Top
Methods
 
Name Description
Public method Dispose() /// Close our resources - specifically, the stream reader ///
Public method Serialize<T>(IEnumerable<T>) /// Serialize a list of objects to CSV using this writer ///
Public method Write(DataTable) /// Write the data table to a stream in CSV format ///
Public method WriteLine(IEnumerable<Object>) /// Write a single line to this CSV ///
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition