Click or drag to resize

FixedLengthField Class

Fixed length field that has length and alignment
Inheritance Hierarchy

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class FixedLengthField : FieldBase

The FixedLengthField type exposes the following members.

Properties
  NameDescription
Public propertyArrayMaxLength
Array may have this many entries, if equal to ArrayMinLength then it is a fixed length array
(Inherited from FieldBase.)
Public propertyArrayMinLength
Array must have this many entries
(Inherited from FieldBase.)
Public propertyConverter
Provider to convert to and from text
(Inherited from FieldBase.)
Public propertyDiscarded
Do we process this field but not store the value
(Inherited from FieldBase.)
Public propertyFieldType
type of object to be created, eg DateTime
(Inherited from FieldBase.)
Public propertyIsArray
Is this field an array?
(Inherited from FieldBase.)
Public propertyIsNotEmpty
The field must be not be empty
(Inherited from FieldBase.)
Public propertyIsOptional
The field may not be present on the input data (line not long enough)
(Inherited from FieldBase.)
Public propertyTrimMode
indicates whether we trim leading and/or trailing whitespace
(Inherited from FieldBase.)
Top
Methods
  NameDescription
Public methodCreateValueForField
Convert a field value into a write able value
(Inherited from FieldBase.)
Top
See Also