CSV Engine Documentation Contents
AldenSystems.CSVEngine
CSV Engine Class Library

Row.SetValue Method (String, String)

Sets the value at the named column.

[Visual Basic]
Overloads Public Sub SetValue( _
ByVal columnName As String, _
ByVal fieldData As String _
)
[C#]
public void SetValue(
string columnName,
string fieldData
);

Parameters

columnName
The name of the column to which to set the value.
fieldData
The value to place into the row at the specified column.

Remarks

A Header must be provided through the Row constructor in order for values to be set by column name.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if fieldData or columnName is null.
ArgumentException Thrown if the specified column does not exist.

See Also

Row Class | AldenSystems.CSVEngine Namespace | Row.SetValue Overload List