CsvHelpers.

WriteRecords<T>(FilePath, List<T>, ClassMap, CsvHelperSettings) Method

Summary

Writes the records to the speficed file using the specified class mapp and settings.
Assembly
Cake.CsvHelper.dll
Namespace
Cake.CsvHelper
Containing Type
CsvHelpers

Syntax

public void WriteRecords<T>(FilePath csvFile, List<T> records, ClassMap classMap, CsvHelperSettings settings)

Type Parameters

Name Description
T The record type.

Parameters

Name Type Description
csvFile FilePath The CSV file to write.
records List<T> The records to write.
classMap ClassMap The class map.
settings CsvHelperSettings The settings.

Return Value

Type Description
void