Indicates the behavior when variable length records are found in a
[
FixedLengthRecordAttribute]. (Note: nothing in
common with [FieldOptional])
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
SyntaxPublic Enumeration FixedMode
Members
| Member name | Value | Description |
---|
| ExactLength | 0 |
The records must have the length equals to the sum of each
field length. Default Behavior.
|
| AllowMoreChars | 1 |
The records can contain more chars after the last field
|
| AllowLessChars | 2 |
The records can contain less chars. Based on the
combination with FieldOptional the records can contain less
fields in the last, or if it is marked as optional, in the
previous field.
|
| AllowVariableLength | 3 |
The records can contain more or less chars in the last
field
|
See Also