File WriteAllText Method Kentico 8.1 API Reference
Overload List

  NameDescription
Public methodWriteAllText(String, String)
Creates a new file, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten.
(Overrides AbstractFile WriteAllText(String, String).)
Public methodWriteAllText(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.
(Overrides AbstractFile WriteAllText(String, String, Encoding).)
Back to Top
See Also