Click or drag to resize
Accord.NET (logo)

CsvReader Methods

The CsvReader type exposes the following members.

Methods
  NameDescription
Protected methodCheckDisposed
Checks if the instance has been disposed of, and if it has, throws an ObjectDisposedException; otherwise, does nothing.
Public methodClose
Closes the IDataReader Object.
Public methodCopyCurrentRecordTo(String)
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
Public methodCopyCurrentRecordTo(String, Int32)
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
Public methodDispose
Releases all resources used by the instance.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by this instance and optionally releases the managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the instance is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodStatic memberFromText
Creates a new CsvReader to read from a string.
Public methodStatic memberFromUrl
Creates a new CsvReader to read from a Web URL.
Public methodGetEnumerator
Returns an RecordEnumerator that can iterate through CSV records.
Public methodGetFieldHeaders
Gets the field headers.
Public methodGetFieldIndex
Gets the field index for the provided header.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo
Moves to the specified record index.
Protected methodOnDisposed
Raises the [M:Disposed] event.
Protected methodOnParseError
Raises the [M:ParseError] event.
Public methodReadLine
Reads the entire stream into a list of records.
Public methodReadNextRecord
Reads the next record.
Protected methodReadNextRecord(Boolean, Boolean)
Reads the next record.
Public methodReadToEnd
Reads the entire stream into a list of records.
Public methodToJagged
Reads the entire stream into a jagged matrix.
Public methodToJaggedT
Reads the entire stream into a jagged matrix.
Public methodToMatrix
Reads the entire stream into a multi-dimensional matrix.
Public methodToMatrixT
Reads the entire stream into a multi-dimensional matrix.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToTable
Reads the entire stream into a DataTable.
Public methodToTable(String)
Reads the entire stream into a DataTable.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsString
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also