Method SaveFile
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
SaveFile(string, IStringExport)
When implemented by a class, saves content to the given file with specified exporter.
bool SaveFile(string fileName, IStringExport exporter)
Parameters
fileNamestringName of file to save content.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.
SaveFile(string, IStringExport, Encoding)
When implemented by a class, saves content to the given file with specified exported and specific encoding.
bool SaveFile(string fileName, IStringExport exporter, Encoding encoding)
Parameters
fileNamestringName of file to save content.
exporterIStringExportSpecifies exporter to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.