 | 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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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:
Boolean
Remarks
See Also