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
)
Public Function AddField (
fieldName As String,
length As Integer,
fieldType As Type
) As FixedFieldBuilder
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:
FixedFieldBuilderThe just created field.
See Also