Click or drag to resize
Accord.NET (logo)

CsvReaderItem Property (String)

Gets the field with the specified name. [M:hasHeaders] must be .

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public string this[
	string field
] { get; }
Request Example View Source

Parameters

field
Type: SystemString

Property Value

Type: String
The field with the specified name.
Exceptions
ExceptionCondition
ArgumentNullExceptionfield is or an empty string.
InvalidOperationException The CSV does not have headers ([M:HasHeaders] property is ).
ArgumentExceptionfield not found.
MalformedCsvException The CSV appears to be corrupt at the current position.
ObjectDisposedException The instance has been disposed of.
See Also