FileWriteMode Property
Controls how the output file is opened.
Syntax
public var fileWriteMode: Hl7writerFileWriteModes {
get {...}
set {...} }
public enum Hl7writerFileWriteModes: Int32 { case fwmCreate = 0 case fwmOverwrite = 1 case fwmAppend = 2 }
Default Value
0
Remarks
This property controls how the component will open the output file specified in OutputFile. Possible values are:
fwmCreate (0) | Always create a new file. If the file already exists, an error will be raised. |
fwmOverwrite (1) | If the output file already exists, it will be overwritten. |
fwmAppend (2) | If the output file already exists, data will be appended to it. |