CSV Engine Documentation Contents
AldenSystems.CSVEngine
CSV Engine Class Library

Header.HasColumn Method

Determines if the supplied column name has been defined in the header.

[Visual Basic]
Public Function HasColumn( _
ByVal columnName As String _
) As Boolean
[C#]
public bool HasColumn(
string columnName
);

Parameters

columnName
The name of the column to check.

Return Value

True if the column is defined in the header.

Exceptions

Exception Type Condition
ArgumentNullException Thrown if columnName is null.
ArgumentException Thrown if columnName is zero length.

See Also

Header Class | AldenSystems.CSVEngine Namespace