CSV Engine Documentation Contents
AldenSystems.CSVEngine
CSV Engine Class Library

Row.AddValue Method

Appends a column to the row containing the supplied data.

[Visual Basic]
Public Sub AddValue( _
ByVal fieldData As String _
)
[C#]
public void AddValue(
string fieldData
);

Parameters

fieldData
The data to append to the Row.

Remarks

If a Header has been supplied to the Row, the row is automatically populated with empty values for each defined column. As a consequence, this method will write to the first available column to which this method has not yet written data. Only where the number of calls to this method exceeds the number of columns defined in the header, shall data be truly appended and therefore extending the number of fields in the row.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if fieldData is null.

See Also

Row Class | AldenSystems.CSVEngine Namespace