Click or drag to resize

FixedMode Enumeration

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
Syntax
public enum FixedMode
Members
  Member nameValueDescription
ExactLength0 The records must have the length equals to the sum of each field length. Default Behavior.
AllowMoreChars1 The records can contain more chars after the last field
AllowLessChars2 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.
AllowVariableLength3 The records can contain more or less chars in the last field
See Also