www.csvreader.com

Returns the column header value for a given columnIndex.

[Visual Basic]
Public Function GetHeader( _
   ByVal columnIndex As Integer _
) As String
[C#]
public string GetHeader(
   int columnIndex
);

Parameters

columnIndex
The index of the header column being requested.

Return Value

The value of the column header at the given columnIndex.

Exceptions

Exception TypeCondition
ObjectDisposedException Methods were called after the object has been disposed.

See Also

CsvReader Class | Csv Namespace