Method Read
Read(TextReader, char, int)
Reads a list.
public static CsvMergeData Read(TextReader reader, char delimiter = ',', int maxRecords = 0)
Parameters
readerTextReaderThe text.
delimitercharThe field delimiter (a comma; a tab for a tab-separated list).
maxRecordsintThe most records read (0: no limit beyond the reader's end).
Returns
- CsvMergeData
The list.
Exceptions
- ArgumentNullException
readeris null.- ArgumentException
The delimiter is a quote or a line end.
- FormatException
The list is empty, a quoted value is never closed, a value is longer than MaxValueLength, or a row has more than MaxFields fields.