Csv Class
Static class that provides methods for reading, writing and analyzing CSV data.
Namespace: FolkerKinzel.CsvToolsAssembly: FolkerKinzel.CsvTools (in FolkerKinzel.CsvTools.dll) Version: 2.0.1+2345335399184346d9b2cc992ed5c814406052c1
Public NotInheritable Class Csv
public ref class Csv abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Csv = class end
- Inheritance
- Object Csv
AnalyzeFile | Analyzes the CSV file referenced by filePath to get the appropriate
method arguments for parsing.
|
AnalyzeString | Analyzes a String that contains CSV data to get the appropriate method
arguments for parsing. |
AsString |
Converts the contents of data to a comma-separated values String
(CSV, RFC 4180).
|
GetExcelArguments |
Gets the appropriate method arguments for exchanging CSV data with Excel.
|
OpenRead(TextReader, Char, Boolean, CsvOpts) | Initializes a CsvReader instance. |
OpenRead(String, Char, Encoding, Boolean, CsvOpts) | Opens a CSV file for reading. |
OpenReadAnalyzed | Opens a CSV file for reading after it had been analyzed.
|
OpenWrite(TextWriter, IReadOnlyCollectionString, Char) |
Initializes a CsvWriter to write CSV with header row. |
OpenWrite(TextWriter, Int32, Char) | Initializes a CsvWriter to write CSV without a header row.
|
OpenWrite(String, IReadOnlyCollectionString, Char, Encoding) | Initializes a CsvWriter to write a CSV file with header row. |
OpenWrite(String, Int32, Char, Encoding) | Initializes a CsvWriter to write a CSV file without header row. |
Parse | Parses a CSV-String to make its content accessible. |
ParseAnalyzed | Parses a CSV-String after it had been analyzed.
|
Save(IEnumerableIEnumerableObject, String, Char, IFormatProvider, Encoding, String) |
Saves the contents of data as a CSV file.
|
Save(DataTable, String, Char, IFormatProvider, Encoding, IEnumerableString, String) |
Saves the content of a DataTable as a CSV file with header row.
|
Write(IEnumerableIEnumerableObject, TextWriter, Char, IFormatProvider, String) |
Writes the contents of data as CSV.
|
Write(DataTable, TextWriter, Char, IFormatProvider, IEnumerableString, String) |
Writes the content of a DataTable as CSV with header row.
|
NewLine | The newline characters to use in CSV files ("\r\n"). |