www.csvreader.com

Returns the length of a column without doing extra work to find the column's actual value.

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

Parameters

columnIndex
The index of the header column being requested.

Return Value

The length of the requested column.

Exceptions

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

See Also

CsvReader Class | Csv Namespace