Method SaveFile
SaveFile(string)
When implemented by a class, saves text content to the specific file.
bool SaveFile(string fileName)
Parameters
fileNamestringName of file to save content.
Returns
- bool
True is succeed; otherwise false.
SaveFile(string, Encoding)
When implemented by a class, saves text content to the specific file with specific encoding.
bool SaveFile(string fileName, Encoding encoding)
Parameters
fileNamestringName of file to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.