|
CsvReaderGetFieldIndex Method
|
Gets the field index for the provided header.
Namespace:
Accord.IO
Assembly:
Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax public int GetFieldIndex(
string header
)
Public Function GetFieldIndex (
header As String
) As Integer
Request Example
View SourceParameters
- header
- Type: SystemString
The header to look for.
Return Value
Type:
Int32The field index for the provided header. -1 if not found.
Exceptions Exception | Condition |
---|
ObjectDisposedException |
The instance has been disposed of.
|
See Also