Writes text to a file.

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

Syntax

C#
public static void WriteAllText(
	string path,
	string contents
)
Visual Basic
Public Shared Sub WriteAllText ( _
	path As String, _
	contents As String _
)
Visual C++
public:
static void WriteAllText(
	String^ path, 
	String^ contents
)

Parameters

path
Type: System..::..String
Path to file to write to.
contents
Type: System..::..String
Text to write.

See Also