The default value that will be used when reading when
the CSV field is empty. This value is not type checked
and will use a
ITypeConverter
to convert
the field. This could potentially have runtime errors.
- Namespace
- CsvHelper
.Configuration - Containing Type
- IHasDefault
<TClass, TMember>
Syntax
IHasDefaultOptions<TClass, TMember> Default(string defaultValue)
Parameters
Name | Type | Description |
---|---|---|
defaultValue | string | The default value. |
Return Value
Type | Description |
---|---|
IHasDefaultOptions |