Click or drag to resize

ExportSettingsWriteExportedFieldsToCsvMappingFile Method

Writes a comma separated value (.csv) file of export fields.

Namespace: OpenDiscoverSDK.Interfaces.Platform.LoadFile
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public static void WriteExportedFieldsToCsvMappingFile(
	string csvFilePath,
	List<ExportField> fields,
	bool overWriteCsvFileIfExists = false
)

Parameters

csvFilePath  String
Full file path of .csv to create.
fields  ListExportField
All fields to be written to .csv file. See remarks.
overWriteCsvFileIfExists  Boolean  (Optional)
If this argument is true then if file given by 'csvFilePath' already exists then it will be over written. Default value is false.
Remarks

Any ExportField with IsExported set to false is not written to the .csv file.

See Also