Click or drag to resize

DelimitedRecordOptions Class

This class allows you to set some options of the delimited records at runtime. With options the library is more flexible.
Inheritance Hierarchy
SystemObject
  FileHelpers.OptionsRecordOptions
    FileHelpers.OptionsDelimitedRecordOptions

Namespace:  FileHelpers.Options
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class DelimitedRecordOptions : RecordOptions

The DelimitedRecordOptions type exposes the following members.

Properties
  NameDescription
Public propertyDelimiter
The delimiter used to identify each field in the data.
Public propertyFieldCount
The number of fields of the record type.
(Inherited from RecordOptions.)
Public propertyFields (Inherited from RecordOptions.)
Public propertyFieldsNames
Returns an string array with the fields names. Note : Do NOT change the values of the array, clone it first if needed
(Inherited from RecordOptions.)
Public propertyFieldsTypes
Returns a Type[] array with the fields types. Note : Do NOT change the values of the array, clone it first if needed
(Inherited from RecordOptions.)
Public propertyIgnoreCommentedLines
Indicates that the engine must ignore the lines with this comment marker.
(Inherited from RecordOptions.)
Public propertyIgnoreEmptyLines
Indicates that the engine must ignore the empty lines while reading.
(Inherited from RecordOptions.)
Public propertyIgnoreFirstLines
Indicates the number of first lines to be discarded.
(Inherited from RecordOptions.)
Public propertyIgnoreLastLines
Indicates the number of lines at the end of file to be discarded.
(Inherited from RecordOptions.)
Public propertyRecordCondition
Used to tell the engine which records must be included or excluded while reading.
(Inherited from RecordOptions.)
Top
Methods
  NameDescription
Public methodRecordToString
Allows the creating of a record string of the given record. Is useful when your want to log errors to a plan text file or database
(Inherited from RecordOptions.)
Public methodRecordToValues
Allows to get an object[] with the values of the fields in the record
(Inherited from RecordOptions.)
Public methodRemoveField (Inherited from RecordOptions.)
Top
See Also