Click or drag to resize

FixedLengthClassBuilderAddField Method (String, Int32, Type)

Adds a new Fixed Length field.

Namespace:  FileHelpers.Dynamic
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public FixedFieldBuilder AddField(
	string fieldName,
	int length,
	Type fieldType
)

Parameters

fieldName
Type: SystemString
The name of the field.
length
Type: SystemInt32
The length of the field.
fieldType
Type: SystemType
The Type of the field. (For generic of nullable types use the string overload, like "int?")

Return Value

Type: FixedFieldBuilder
The just created field.
See Also