Method SaveFile
SaveFile(string)
Saves content to the specific file in the text format.
public virtual bool SaveFile(string fileName)
Parameters
fileNamestringName of the file to save content.
Returns
- bool
True if succeed; otherwise false.
SaveFile(string, Encoding)
Saves content to the specific file with specific encoding.
public virtual bool SaveFile(string fileName, Encoding encoding)
Parameters
fileNamestringName of the file to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True if succeed; otherwise false.
SaveFile(string, IStringExport)
Saves content to the specific file in the specific format.
public virtual bool SaveFile(string fileName, IStringExport exporter)
Parameters
fileNamestringName of the file to save content.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True if succeed; otherwise false.
SaveFile(string, IStringExport, Encoding)
Saves content to the specific file in the specific format with specific encoding.
public virtual bool SaveFile(string fileName, IStringExport exporter, Encoding encoding)
Parameters
fileNamestringName of the file to save content.
exporterIStringExportSpecifies exporter to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True if succeed; otherwise false.