Click or drag to resize
CsvReaderGetIndex Method
Gets the corresponding column index for a given headerName.

Namespace: DataStreams.Csv
Assembly: DataStreams (in DataStreams.dll) Version: 5.20.0.0
Syntax
public int GetIndex(
	string headerName
)

Parameters

headerName
Type: SystemString
The column header of the column.

Return Value

Type: Int32
The column index for the given headerName. Returns -1 if not found.
Exceptions
ExceptionCondition
ObjectDisposedException Methods were called after the object has been disposed.
See Also