Click or drag to resize

FileCsvDocumentSave Method

Overload List
  NameDescription
Public methodSave(String)
Writes the document to a file on disk, encoded as UTF-8 with a byte order mark. The mark lets spreadsheet applications (for example Excel on Windows and Mac) detect the encoding rather than falling back to the system code page, which garbles non-ASCII text such as Korean (RH-97173). Use Save(String, Encoding) with new UTF8Encoding(false) to write UTF-8 without a mark.
Public methodSave(TextWriter)
Writes the document to a text writer. Records are separated by CRLF, per RFC 4180. If the document has a header, it is written ahead of the data rows.
Public methodSave(String, Encoding)
Writes the document to a file on disk using the specified encoding.
Top
See Also