610d6a88 c72f 80d8 40fa ba7e9056cdd5 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvWriter.Write Method (IEnumerable(IEnumerable(Object)), String)

This method tries to write given values into given file.

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

Syntax

C#

public static void Write(
	IEnumerable<IEnumerable<Object>> content,
	string filename
)

Parameters

 

content
Type: System.Collections.Generic.IEnumerable(IEnumerable(Object))
The content array to be written to the CSV file.
filename
Type: System.String
The fully qualified path of the output file.

Exceptions

 

Exception Condition
ArgumentException This exception is thrown in case of given filename is invalid.
InvalidOperationException This exception is thrown in case of given file could not be deleted. Another reason could be the case when property parsing fails.

Remarks

This method performes writing of data with default settings. Using default settings means that a possible existing file is overwritten. or from property names.

See Also

Reference

CsvWriter Class
Write Overload
Plexdata.CsvParser.Processors Namespace

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