Class CsvMergeData
A recipient list read from CSV the way Word's Mailings reads one (Phase 161, WQ-0134): the first row names the
fields, a value in double quotes keeps its delimiters and line ends, "" inside quotes is one quote, an
empty value is empty. Field names are Word's: a space becomes , a character that is neither a letter, a
digit nor is dropped.
public sealed class CsvMergeData
- Inheritance
-
CsvMergeData
- Inherited Members
Fields
- MaxFields
The most fields a row has.
- MaxValueLength
The longest value read.
Properties
- FieldNames
Gets the field names, in column order, as Word names them.
- Records
Gets the records, each a field name to its value.
Methods
- CreateReader()
A merge reader over the records, positioned before the first.
- FieldName(string)
A column name as Word names its field: a space becomes
; anything but a letter, a digit oris dropped.
- Read(TextReader, char, int)
Reads a list.