CsvReader Methods |
The CsvReader type exposes the following members.
Name | Description | |
---|---|---|
CheckDisposed |
Checks if the instance has been disposed of, and if it has, throws an ObjectDisposedException; otherwise, does nothing.
| |
Close |
Closes the IDataReader Object.
| |
CopyCurrentRecordTo(String) |
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
| |
CopyCurrentRecordTo(String, Int32) |
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
| |
Dispose |
Releases all resources used by the instance.
| |
Dispose(Boolean) |
Releases the unmanaged resources used by this instance and optionally releases the managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the instance is reclaimed by garbage collection.
(Overrides ObjectFinalize.) | |
FromText |
Creates a new CsvReader to read from a string.
| |
FromUrl |
Creates a new CsvReader to read from a Web URL.
| |
GetEnumerator |
Returns an RecordEnumerator that can iterate through CSV records.
| |
GetFieldHeaders |
Gets the field headers.
| |
GetFieldIndex |
Gets the field index for the provided header.
| |
GetHashCode | Serves as the default hash function. (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.
| |
OnDisposed |
Raises the [M:Disposed] event.
| |
OnParseError |
Raises the [M:ParseError] event.
| |
ReadLine |
Reads the entire stream into a list of records.
| |
ReadNextRecord |
Reads the next record.
| |
ReadNextRecord(Boolean, Boolean) |
Reads the next record.
| |
ReadToEnd |
Reads the entire stream into a list of records.
| |
ToJagged |
Reads the entire stream into a jagged matrix.
| |
ToJaggedT |
Reads the entire stream into a jagged matrix.
| |
ToMatrix |
Reads the entire stream into a multi-dimensional matrix.
| |
ToMatrixT |
Reads the entire stream into a multi-dimensional matrix.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToTable |
Reads the entire stream into a DataTable.
| |
ToTable(String) |
Reads the entire stream into a DataTable.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
SetEqualsString |
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.) | |
To(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.) | |
ToT | 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.) |