PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Writes the text to a file in the given encoding, optionally writing a Byte Order Mark.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static void WriteText(
	string path,
	string data,
	 encoding,
	bool writeByteOrderMark
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Sub WriteText ( _
	path As , _
	data As , _
	encoding As , _
	writeByteOrderMark As  _
)

Parameters

path
String
The file path.
data
String
The string written to the file.
encoding
Encodings
The encoding used to write the file.
writeByteOrderMark
Boolean
True if a Byte Order Mark should be written to the file, false otherwise.

See Also

Advanced