Prefix(string, bool) Method
Appends a prefix to the header of each field of the reference member.
Namespace
CsvHelper.Configuration
Containing Type
MemberReferenceMap

Syntax

public MemberReferenceMap Prefix(string prefix = null, bool inherit = false)

Parameters

Name Type Description
prefix string The prefix to be prepended to headers of each reference member.
inherit bool Inherit parent prefixes.

Return Value

Type Description
MemberReferenceMap The current MemberReferenceMap