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 - Containing Type
- MemberMap
Syntax
public virtual MemberMap Constant(object constantValue)
Parameters
Name | Type | Description |
---|---|---|
constantValue | object | The constant value. |
Return Value
Type | Description |
---|---|
MemberMap |