Writes text to a file.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
void WriteAllText(
	string path,
	string contents,
	Encoding encoding
)
Visual Basic
Sub WriteAllText ( _
	path As String, _
	contents As String, _
	encoding As Encoding _
)
Visual C++
void WriteAllText(
	String^ path, 
	String^ contents, 
	Encoding^ encoding
)

Parameters

path
Type: System..::..String
Path to file to write to.
contents
Type: System..::..String
Text to write.
encoding
Type: System.Text..::..Encoding
Encoding to use when writing.

See Also