Click or drag to resize

DelimitedField Class

Define a field that is delimited, eg CSV and may be quoted
Inheritance Hierarchy

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

The DelimitedField 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 propertyQuoteChar
quote character around field (and repeated within it)
Public propertyQuoteMode
whether quotes are optional for read and / or write
Public propertyQuoteMultiline
allow a quoted multiline format
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