www.csvreader.com

CsvReader overview

Public Static (Shared) Methods

Parse Creates a CsvReader object using a string of data as the source. Uses Default as the encoding.

Public Instance Constructors

CsvReader Overloaded. Initializes a new instance of the CsvReader class.

Public Instance Properties

ColumnCount The count of columns found in the current record.
CurrentRecord (inherited from ReaderBase) The index of the current record.
HeaderCount The count of headers read in by a previous call to ReadHeaders.
Headers Returns the header values as a string array.
ItemOverloaded. Returns the current column value corresponding to the headerName.
RawRecord Returns the text of the current record as it existed before parsing.
Settings Has all the options that are able to be set that will affect the way records are parsed and accessed.
Values (inherited from ReaderBase) Returns the columns values for the current record as a string array.

Public Instance Methods

Close (inherited from ReaderBase) Closes and releases all related resources.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetHeader Returns the column header value for a given columnIndex.
GetIndex Gets the corresponding column index for a given headerName.
GetType (inherited from Object) Gets the Type of the current instance.
IsQualified Determines whether a specified column was qualified or not.
ReadHeaders Read the first record of data as column headers.
ReadRecord Reads another record.
ReadToEndOverloaded. Reads till the end of the csv data.
SkipLine Skips the next line of data using the standard end of line characters and does not do any column delimited parsing.
SkipRecord Skips the next record of data by parsing each column. Does not increment CurrentRecord.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

CsvReader Class | DataStreams.Csv Namespace