FixedLengthClassBuilder Constructor (String, DataTable, Int32) |
Used to create classes that maps to Fixed Length records with the same structure than a DataTable.
Namespace:
FileHelpers.Dynamic
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax public FixedLengthClassBuilder(
string className,
DataTable dt,
int defaultLength
)
Public Sub New (
className As String,
dt As DataTable,
defaultLength As Integer
)
Parameters
- className
- Type: SystemString
A valid class name. - dt
- Type: System.DataDataTable
The DataTable from where to get the field names and types - defaultLength
- Type: SystemInt32
The initial length of all fields
See Also