References<TClassMap>(Expression<Func<TClass, object>>, object[]) Method
Meant for internal use only. Maps a member to another class map. When this is used, accessing a property through sub-property mapping later won't work. You can only use one or the other. When using this, ConvertUsing will also not work.
Namespace
CsvHelper.Configuration
Containing Type
ClassMap<TClass>

Syntax

public virtual MemberReferenceMap References<TClassMap>(Expression<Func<TClass, object>> expression, params object[] constructorArgs) 
    where TClassMap : ClassMap

Type Parameters

Name Description
TClassMap The type of the class map.

Parameters

Name Type Description
expression Expression<Func<TClass, object>> The expression.
constructorArgs object[] Constructor arguments used to create the reference map.

Return Value

Type Description
MemberReferenceMap The reference mapping for the member.