72723553 02ad f6cc 0f83 548baf29001b - akesseler/Plexdata.CsvParser GitHub Wiki

CsvExporter(TInstance).WriteLine Method

This method tries to write a particular line into given stream according to given parameter set.

Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

private static void WriteLine(
	StreamWriter writer,
	char separator,
	bool textual,
	CultureInfo culture,
	CsvMappings mapping,
	IEnumerable<Object> values
)

Parameters

 

writer
Type: System.IO.StreamWriter
The stream writer to be used to push data.
separator
Type: System.Char
The delimiter to be used to separate each column.
textual
Type: System.Boolean
The flag indicating how strings have to be handled. If true then all string are enclosed in double-quotes. If false then only the necessary strings are enclosed in double-quotes.
culture
Type: System.Globalization.CultureInfo
The culture to be used for data conversion.
mapping
Type: Plexdata.CsvParser.Processors.CsvMappings
The mapping to be used for value transformation.
values
Type: System.Collections.Generic.IEnumerable(Object)
A list of values representing a single line of the CSV file.

Remarks

This method may throw exceptions which must be handled by the caller.

See Also

Reference

CsvExporter(TInstance) Class
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️