|
CsvReaderItem Property (Int32, Int32)
|
Gets the field at the specified index and record position.
Namespace:
Accord.IO
Assembly:
Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax public string this[
int record,
int field
] { get; }
Public ReadOnly Default Property Item (
record As Integer,
field As Integer
) As String
Get
Request Example
View SourceParameters
- record
- Type: SystemInt32
- field
- Type: SystemInt32
Property Value
Type:
String
The field at the specified index and record position.
A
is returned if the field cannot be found for the record.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | field must be included in [0, [M:FieldCount][.
|
ArgumentOutOfRangeException |
Record index must be > 0.
|
InvalidOperationException |
Cannot move to a previous record in forward-only mode.
|
EndOfStreamException |
Cannot read record at record.
|
MalformedCsvException |
The CSV appears to be corrupt at the current position.
|
ObjectDisposedException |
The instance has been disposed of.
|
See Also