CSV.ToCSVString Method

/// Serialize a sequence of objects into a CSV string ///
<Extension()> _ 
Public Shared Function ToCSVString( _ 
ByVal row As IEnumerable(Of Object), _ 
Optional ByVal settings As CSVSettings = null _ 
) As String
This language is not supported or no code example is available.
public static string ToCSVString( 
this IEnumerable<object> row
CSVSettings settings = null 
)
This language is not supported or no code example is available.
[Extension()] 
public:  
static String^ ToCSVString( 
IEnumerable<object^>^ row
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.

Parameters

row
IEnumerable<object>

A list or array of objects to serialize

settings
CSVSettings

The field delimiter character (Default: comma)

Return Value

string

A single line of CSV encoded data containing these values

.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