|
CsvReaderItem Property (Int32)
|
Gets the field at the specified index.
Namespace:
Accord.IO
Assembly:
Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntaxpublic virtual string this[
int field
] { get; }Public Overridable ReadOnly Default Property Item (
field As Integer
) As String
Get
Request Example
View SourceParameters
- field
- Type: SystemInt32
Property Value
Type:
StringThe field at the specified index.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | field 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