Appends a prefix to the header of each field of the reference parameter.
- Namespace
- CsvHelper
.Configuration - Containing Type
- Parameter
Reference Map
Syntax
public ParameterReferenceMap Prefix(string prefix = null, bool inherit = false)
Parameters
Name | Type | Description |
---|---|---|
prefix | string | The prefix to be prepended to headers of each reference parameter. |
inherit | bool | Inherit parent prefixes. |
Return Value
Type | Description |
---|---|
Parameter |
The current ParameterReferenceMap |