CSV Engine Documentation Contents
AldenSystems.CSVEngine
CSV Engine Class Library

Row.GetValue Method (String)

Returns the value for the named field.

[Visual Basic]
Overloads Public Function GetValue( _
ByVal columnName As String _
) As String
[C#]
public string GetValue(
string columnName
);

Parameters

columnName
The name of the column for which the value is to be returned.

Return Value

The value applicable to the named field.

Remarks

A Header must be provided through the Row constructor in order for values to be retrieved by column name. If no header is provided this method will return null.

Exceptions

Exception Type Condition
ArgumentException Thrown if the specified column doesn't exist.
ArgumentNullException Thrown if columnName is null.

See Also

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