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.IO.ZipAssembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.0.5239.26125)
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