Map(Type, MemberInfo, bool) Method
Maps a member to a CSV field.
Namespace
CsvHelper.Configuration
Containing Type
ClassMap

Syntax

public MemberMap Map(Type classType, MemberInfo member, bool useExistingMap = true)

Parameters

Name Type Description
classType Type The type of the class this map is for. This may not be the same type as the member.DeclaringType or the current ClassType due to nested member mappings.
member MemberInfo The member to map.
useExistingMap bool If true, an existing map will be used if available. If false, a new map is created for the same member.

Return Value

Type Description
MemberMap The member mapping.