Click or drag to resize

Csv Methods

The Csv type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReadAll Reads all rows from the configured CSV file and returns all values as an array of doubles, along with the number of columns per row. Applies any configured filtering and handles headers as specified.
Public methodReadAll(Int32) Reads all rows from the configured CSV file and returns all values as an array of doubles, along with the number of columns per row. Applies any configured filtering and handles headers as specified.
Public methodReadColumnT(Int32)Reads all lines from the configured CSV file.
Public methodReadColumnT(String)Reads all lines from the configured CSV file.
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodWithFilter(Int32, String) Instructs the reader to only return lines where the value in the specified column matches the provided value.
Public methodWithFilter(String, String) Instructs the reader to only return lines where the value in the specified column matches the provided value. This overload implies that the CSV file has a header.
Public methodWithFormat Change the format provider for this CSV file. This is used when parsing numeric values.
Public methodWithHeader Mark this CSV file as having a header line. The first line will be ignored when reading.
Public methodWithSeparator Change the separator character for this CSV file.
Top
See Also