public sealed class CsvReader : IDisposable,
IEnumerable<CsvRecord>, IEnumerable, IEnumerator<CsvRecord>,
IEnumerator
Public NotInheritable Class CsvReader
Implements IDisposable, IEnumerable(Of CsvRecord),
IEnumerable, IEnumerator(Of CsvRecord), IEnumerator
public ref class CsvReader sealed : IDisposable,
IEnumerable<CsvRecord^>, IEnumerable, IEnumerator<CsvRecord^>,
IEnumerator
[<SealedAttribute>]
type CsvReader =
class
interface IDisposable
interface IEnumerable<CsvRecord>
interface IEnumerable
interface IEnumerator<CsvRecord>
interface IEnumerator
end
The class implements IEnumerable<CsvRecord>. A CsvReader instance can be iterated with foreach or queried using Linq methods. Note that an instance can only be iterated once; if an attempt is made to iterate it twice, an ObjectDisposedException is thrown.
CsvReader(TextReader, Char, Boolean, CsvOpts) | Initializes a new CsvReader instance. |
CsvReader(String, Char, Encoding, Boolean, CsvOpts) | Initializes a new CsvReader instance. |
Dispose | Closes the CSV file. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetEnumerator | Returns an enumerator that iterates through the collection. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Read | Returns the next CsvRecord in the CSV file or null if the file has been read completely. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. |
IEnumeratorCurrent | Gets the element in the collection at the current position of the enumerator. |
IEnumeratorMoveNext | Advances the enumerator to the next element of the collection. |
IEnumeratorReset | Throws a NotSupportedException. |
IEnumeratorCsvRecordCurrent | Gets the element in the collection at the current position of the enumerator. |