TextWriter.By file name
Syntax:
Parameters:
<FileName> (required)
Text file name for writing.
<Encoding> (optional)
Currently recording text encoding (it conforms to the text document).
Default value: UTF8.
<LineSplitter> (optional)
Line splitter symbol in currently recording file.
Default value: FF.
<AppendWriting> (optional)
If the parameter has a value of True value and the file already exists, the file's contents are saved. If the file does not exist, the system creates a new file, using the name provided in the designer's first parameter.
Default value: False.
<LineSplitterInFile> (optional)
Defines a line splitter in the file for conversion to a standard line break LF.
Default value: CR + LF.
Description:
Example:
LongText = New TextWriter("c:\temp\file.txt", TextEncoding.UTF16); |
See also: