EngineBase Class |
Namespace: FileHelpers
The EngineBase type exposes the following members.
| Name | Description | |
|---|---|---|
| Encoding |
The encoding to Read and Write the streams.
Default is the system's current ANSI code page.
| |
| ErrorManager | This is a common class that manages the errors of the library. | |
| ErrorMode |
Indicates the behavior of the engine when it finds an error.
{Shortcut for )
| |
| FooterText | The Read Footer in the last Read operation. If any. | |
| HeaderText | The Read Header in the last Read operation. If any. | |
| LineNumber | The current line number. | |
| NewLineForWrite |
Newline string to be used when engine writes to file.
Default is the system's newline setting (System.Environment.NewLine).
| |
| Options |
Allows you to change some record layout options at runtime
| |
| RecordType | Returns the type of records handled by this engine. | |
| TotalRecords | The total numbers of records in the last read/written file
(only works with whole read/write). |
| Name | Description | |
|---|---|---|
| GetFileHeader |
Builds a line with the name of the fields, for a delimited files it
uses the same delimiter, for a fixed length field it writes the
fields names separated with tabs
|