CSV.Serialize<T> (IEnumerable<T>, Stream, CSVSettings) Method

/// Serialize an array of objects to CSV format ///
Public Shared Sub Serialize(Of  _ 
T As {Class, New})( _ 
ByVal list As IEnumerable(Of T), _ 
ByVal stream As Stream, _ 
Optional ByVal settings As CSVSettings = null _ 
)
This language is not supported or no code example is available.
public static void Serialize<T>( 
IEnumerable<T> list
Stream stream
CSVSettings settings = null 

where T : class, new()
This language is not supported or no code example is available.
generic<typename T> 
where T : ref class, gcnew() 
public:  
static void Serialize( 
IEnumerable<T^>^ list
Stream^ stream
CSVSettings^ settings 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

The type of objects to serialize from this CSV

Parameters

list
IEnumerable<T>

The array of objects to serialize

stream
Stream

The stream to which we will send this CSV text

settings
CSVSettings

The CSV settings to use when exporting this array (Default: CSV)

.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