CSVSettings.AllowNull Property

/// Set this value to true to allow nulls to be rendered in CSV files when serializing /// and deserializing. /// /// CSV files by default do not have a mechanism for differentiating between null fields /// and empty fields. If this field is set to false, both `null` and empty string will /// render as an empty string. /// /// If this field is set to true, all non-null fields will be enclosed by the text qualifier, /// and fields that are null will be represented as `NullToken`. ///
Public Property AllowNull() As Boolean
This language is not supported or no code example is available.
public bool AllowNull {get; set;}
This language is not supported or no code example is available.
public:  
property bool AllowNull { 
bool get( ); 
void set( 
bool value 
); 
}
This language is not supported or no code example is available.
public function get AllowNull() : boolean
public function set AllowNull(value : boolean);
This language is not supported or no code example is available.

Property Value

bool

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition