XMLWriter.Close

Syntax:

Close()

Returned value:

Type: String.

Description:

Completes XML text writing. If writing to a file, the file is closed. If writing to a string, the resultant string will be returned as the method's return value. If writing to file, the method will return an empty string.

Availability:

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

Example:

XMLWriter = New XMLWriter;
XMLWriter.SetString();
// Write XML document
...
StrXML = XMLWriter.Close();


    

1C:Enterprise Developer's Community