UseNewObjectForNullReferenceMembers Property
Gets a value indicating that during writing if a new object should be created when a reference member is null. True to create a new object and use it's defaults for the fields, or false to leave the fields empty for all the reference member's member.
Namespace
CsvHelper.Configuration
Containing Type
IWriterConfiguration
Property Type
bool

Syntax

bool UseNewObjectForNullReferenceMembers { get; }

Value

Type Description
bool