www.csvreader.com

The methods of the CsvReader class are listed below. For a complete list of CsvReader class members, see the CsvReader Members topic.

Public Static (Shared) Methods

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

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