system.dataset.toCSV(dataset, showHeaders, forExport, localized)
Dataset dataset - The dataset to export to CSV.
Boolean showHeaders - If set to true, a header row will be present in the CSV. Default is true.
Boolean forExport - If set to true, extra header information will be present in the CSV data which is necessary for the CSV to be compatible with the fromCSV method. Overrides showHeaders. Default is false.
Boolean localized - If set to true, the string representations of the values in the CSV data will be localized. Default is false.
String - The CSV data as a string.
Gateway, Vision Client, Perspective Session