Method SaveFile
SaveFile(string)
Saves text content to the specific file.
public virtual bool SaveFile(string fileName)
Parameters
fileNamestringName of file to save content.
Returns
- bool
True is succeed; otherwise false.
SaveFile(string, Encoding)
Saves text content to the specific file with specific encoding.
public virtual 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.
SaveFile(string, IStringExport)
Saves text content to the specific file with specific exporter.
public virtual bool SaveFile(string fileName, IStringExport exporter)
Parameters
fileNamestringName of file to save content.
exporterIStringExportObject to perform writing.
Returns
- bool
True is succeed; otherwise false.
SaveFile(string, IStringExport, Encoding)
Saves text content to the specific file with specific exporter and encoding.
public virtual bool SaveFile(string fileName, IStringExport exporter, Encoding encoding)
Parameters
fileNamestringName of file to save content.
exporterIStringExportObject to perform writing.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.