Click or drag to resize
Accord.NET (logo)

CsvReaderItem Property (Int32)

Gets the field at the specified index.

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

Parameters

field
Type: SystemInt32

Property Value

Type: String
The field at the specified index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionfield must be included in [0, [M:FieldCount][.
InvalidOperationException No record read yet. Call ReadLine() first.
MalformedCsvException The CSV appears to be corrupt at the current position.
ObjectDisposedException The instance has been disposed of.
See Also