11.17.8 WriteAllText Method

Write the specified string to the file (UTF-8 encoding).

Input Arguments

Name

Type

Mandatory

Description

Text

String (Unicode)

Yes

The text to write to the file.

Append

Boolean

No

Indicates whether to append the text to the end of the file, or overwrite existing data.

If True, append, otherwise overwrite.

 

Output Arguments

Name

Type

Mandatory

Description

ErrorInfo

XPRIM_ErrorInfo

No

Indicates an error that might have occurred.

 

Return Value

None