![]() |
CsvReader Properties |
The CsvReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | BufferSize |
Gets the buffer size.
|
![]() | Comment |
Gets the comment character indicating that
a line is commented out. Default is '#'.
|
![]() | CurrentRecordIndex |
Gets the current record index in the CSV file.
|
![]() | DefaultHeaderName |
Gets or sets the default header name when it is an empty string or only whitespaces.
The header index will be appended to the specified name. Default is "Column".
|
![]() | DefaultParseErrorAction |
Gets or sets the default action to take when a parsing error has occured.
|
![]() | Delimiter |
Gets the delimiter character separating each field. If
set to zero ('\0') the reader will try to guess the
delimiter character automatically from the first line
of the file.
|
![]() | EndOfStream |
Gets a value that indicates whether the current stream position is at the end of the stream.
|
![]() | Escape |
Gets the escape character letting insert quotation
characters inside a quoted field. Default is '"'.
|
![]() | FieldCount |
Gets the maximum number of fields to retrieve for each record.
|
![]() | HasHeaders |
Indicates if field names are located on the first non commented line.
|
![]() | IsDisposed |
Gets a value indicating whether the instance has been disposed of.
|
![]() | ItemInt32 |
Gets the field at the specified index.
|
![]() | ItemString |
Gets the field with the specified name. [M:hasHeaders] must be .
|
![]() | ItemInt32, Int32 |
Gets the field at the specified index and record position.
|
![]() | ItemInt32, String |
Gets the field with the specified name and record position. [M:hasHeaders] must be .
|
![]() | MissingFieldAction |
Gets or sets the action to take when a field is missing.
|
![]() | MissingFieldFlag |
Indicates if one or more field are missing for the current record.
Resets after each successful record read.
|
![]() | ParseErrorFlag |
Indicates if a parse error occurred for the current record.
Resets after each successful record read.
|
![]() | Quote |
Gets the quotation character wrapping
every field. Default is '"'.
|
![]() | SkipEmptyLines |
Gets or sets a value indicating if the reader will skip empty lines.
|
![]() | SupportsMultiline |
Gets or sets a value indicating if the reader supports multiline fields.
|
![]() | TrimmingOption |
Indicates if spaces at the start and end of a field
are trimmed. Default is to trim unquoted fields only.
|