CSV.AppendCSVLine<T> Method

/// Appends a single object to a StringBuilder in CSV format as a single line ///
<Extension()> _ 
Public Shared Sub AppendCSVLine(Of _ 
T As {Class, new()})( _ 
ByVal sb As StringBuilder, _ 
ByVal obj As T, _ 
Optional ByVal settings As CSVSettings = null _ 
)
This language is not supported or no code example is available.
public static void AppendCSVLine<T>( 
this StringBuilder sb
T obj
CSVSettings settings = null 

where T : class, new()
This language is not supported or no code example is available.
[Extension()] 
generic<typename T> 
where T : ref class, new()
public:  
static void AppendCSVLine( 
StringBuilder^ sb
T^ obj
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 1st type parameter.

Parameters

sb
StringBuilder

The StringBuilder to append data

obj
T

The single object to append in CSV-line format

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