CachedCsvReader Members
The CachedCsvReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CachedCsvReader(TextReader, Boolean) |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader(TextReader, Boolean, Int32) |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader(TextReader, Boolean, Char) |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader(TextReader, Boolean, Char, Int32) |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader(TextReader, Boolean, Char, Char, Char, Char, ValueTrimmingOptions) |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader(TextReader, Boolean, Char, Char, Char, Char, ValueTrimmingOptions, Int32) |
Initializes a new instance of the CsvReader class.
|
Methods
Name | Description | |
---|---|---|
CheckDisposed | (Inherited from CsvReader.) | |
CopyCurrentRecordTo(array<String>[]()[][]) |
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
(Inherited from CsvReader.) |
|
CopyCurrentRecordTo(array<String>[]()[][], Int32) |
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
(Inherited from CsvReader.) |
|
Dispose()()()() |
Releases all resources used by the instance.
(Inherited from CsvReader.) |
|
Dispose(Boolean) | (Inherited from CsvReader.) | |
Equals(System.Object) | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetCurrentRawData |
Gets the current raw CSV data.
(Inherited from CsvReader.) |
|
GetEnumerator |
Returns an RecordEnumerator that can iterate through CSV records.
(Inherited from CsvReader.) |
|
GetFieldHeaders |
Gets the field headers.
(Inherited from CsvReader.) |
|
GetFieldIndex |
Gets the field index for the provided header.
(Inherited from CsvReader.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MoveTo |
Moves to the specified record index.
|
|
MoveToLastCachedRecord |
Moves to the last record read so far.
|
|
MoveToStart |
Moves before the first record.
|
|
OnDisposed | (Inherited from CsvReader.) | |
OnParseError | (Inherited from CsvReader.) | |
ReadNextRecord |
Reads the next record.
(Inherited from CsvReader.) |
|
ReadToEnd |
Reads the CSV stream from the current position to the end of the stream.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BufferSize |
Gets the buffer size.
(Inherited from CsvReader.) |
|
Comment |
Gets the comment character indicating that a line is commented out.
(Inherited from CsvReader.) |
|
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.
(Inherited from CsvReader.) |
|
DefaultParseErrorAction |
Gets or sets the default action to take when a parsing error has occured.
(Inherited from CsvReader.) |
|
Delimiter |
Gets the delimiter character separating each field.
(Inherited from CsvReader.) |
|
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.
(Inherited from CsvReader.) |
|
FieldCount |
Gets the maximum number of fields to retrieve for each record.
(Inherited from CsvReader.) |
|
HasHeaders |
Indicates if field names are located on the first non commented line.
(Inherited from CsvReader.) |
|
IsDisposed |
Gets a value indicating whether the instance has been disposed of.
(Inherited from CsvReader.) |
|
Item[([( Int32])]) |
Gets the field at the specified index.
|
|
Item[([( Int32, String])]) |
Gets the field with the specified name and record position. [M:hasHeaders] must be trueTruetruetrue (True in Visual Basic).
(Inherited from CsvReader.) |
|
Item[([( Int32, Int32])]) |
Gets the field at the specified index and record position.
(Inherited from CsvReader.) |
|
Item[([( String])]) |
Gets the field with the specified name. [M:hasHeaders] must be trueTruetruetrue (True in Visual Basic).
(Inherited from CsvReader.) |
|
MissingFieldAction |
Gets or sets the action to take when a field is missing.
(Inherited from CsvReader.) |
|
MissingFieldFlag |
Indicates if one or more field are missing for the current record.
Resets after each successful record read.
(Inherited from CsvReader.) |
|
ParseErrorFlag |
Indicates if a parse error occured for the current record.
Resets after each successful record read.
(Inherited from CsvReader.) |
|
Quote |
Gets the quotation character wrapping every field.
(Inherited from CsvReader.) |
|
SkipEmptyLines |
Gets or sets a value indicating if the reader will skip empty lines.
(Inherited from CsvReader.) |
|
SupportsMultiline |
Gets or sets a value indicating if the reader supports multiline fields.
(Inherited from CsvReader.) |
|
TrimmingOption |
Indicates if spaces at the start and end of a field are trimmed.
(Inherited from CsvReader.) |
Events
Name | Description | |
---|---|---|
Disposed |
Occurs when the instance is disposed of.
(Inherited from CsvReader.) |
|
ParseError |
Occurs when there is an error while parsing the CSV stream.
(Inherited from CsvReader.) |