TextWriter

Methods:

Close
Open
Write
WriteLine

Constructors:

By file name
Uninitialized object adding

Description:

You can used it to write sequential segments to text files.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

Text = New TextWriter("d:\win.txt", TextEncoding.ANSI);
Text.WriteLine("Welcome!");
Text.WriteLine("No trespassers.");
Text.Close();

See also:

TextReader
TextWriter, constructor By file name

    

1C:Enterprise Developer's Community