Click or drag to resize
File.WriteAllText Method (String, String, Encoding)
Creates a new file, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 10.0.0
Syntax
C#
public override void WriteAllText(
	string path,
	string contents,
	Encoding encoding
)

Parameters

path
Type: System.String
Path to file
contents
Type: System.String
Content to write
encoding
Type: System.Text.Encoding
The character encoding to use
See Also