| FileTargetWriteHeaderWhenInitialFileNotEmpty Property |
Gets or sets whether to write the Header on initial creation of file appender, even if the file is not empty.
Default value is , which means only write header when initial file is empty (Ex. ensures valid CSV files)
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool WriteHeaderWhenInitialFileNotEmpty { get; set; }
Public Property WriteHeaderWhenInitialFileNotEmpty As Boolean
Get
Set
Dim instance As FileTarget
Dim value As Boolean
value = instance.WriteHeaderWhenInitialFileNotEmpty
instance.WriteHeaderWhenInitialFileNotEmpty = value
member WriteHeaderWhenInitialFileNotEmpty : bool with get, set
Property Value
Type:
BooleanRemarks See Also