FileWriteAllText 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.AzureStorageAssembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax public override void WriteAllText(
string path,
string contents,
Encoding encoding
)
Parameters
- path
- Type: SystemString
Path to file - contents
- Type: SystemString
Content to write - encoding
- Type: System.TextEncoding
The character encoding to use
Exceptions See Also