The constant value that will be used for every record when
reading and writing. This value will always be used no matter
what other mapping configurations are specified.
- Namespace
- CsvHelper
.Configuration .Attributes - Containing Type
- ConstantAttribute
Syntax
public ConstantAttribute(object constant)
Parameters
Name | Type | Description |
---|---|---|
constant | object | The constant. |