ImportFromCsvOptions class | QSYS API Reference Guide

Estimated reading time: 4 minutes

Represents options for importing data from a CSV file.

Namespace: ASNA.DataGate.Client.CopyData Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object –> ImportOptions

Remarks

The ImportFromCsvOptions class inherits from the ImportOptions class and adds additional properties specific to CSV data import. These properties include SkipFirstLine, TextDelimiter, FieldDelimiter, and DecimalPoint. The SkipFirstLine property indicates whether the first line of the CSV data should be skipped during the import. The TextDelimiter property specifies the text delimiter for the CSV data. The FieldDelimiter property specifies the field delimiter for the CSV data. The DecimalPoint property specifies the decimal point for the CSV data.



Constructors

Name Description
ImportFromCsvOptions(IMember, String) Initializes a new instance of the class with the specified target member and source path.
ImportFromCsvOptions(IMember, String, Boolean) Initializes a new instance of the class with the specified target member, source path, and clear member flag.
ImportFromCsvOptions(IMember, String, Boolean, Boolean) Initializes a new instance of the class with the specified target member, source path, clear member flag, use target connection flag, and detailed feedback flag.
ImportFromCsvOptions(IMember, String, Boolean, Boolean, Boolean) Initializes a new instance of the class with the specified target member, source path, clear member flag, use target connection flag, and skip first line flag.

ImportFromCsvOptions(IMember, String)

Initializes a new instance of the class with the specified target member and source path.

ImportFromCsvOptions(IMember, String)

Parameters

Type Parameter name Description
IMember target The target member where the data will be imported.
String source The source path from where the data will be imported.

ImportFromCsvOptions(IMember, String, Boolean)

Initializes a new instance of the class with the specified target member, source path, and clear member flag.

ImportFromCsvOptions(IMember, String, Boolean)

Parameters

Type Parameter name Description
IMember target The target member where the data will be imported.
String source The source path from where the data will be imported.
Boolean bClearMember A flag indicating whether the target member should be cleared before the import.

ImportFromCsvOptions(IMember, String, Boolean, Boolean)

Initializes a new instance of the class with the specified target member, source path, clear member flag, use target connection flag, and detailed feedback flag.

ImportFromCsvOptions(IMember, String, Boolean, Boolean)

Parameters

Type Parameter name Description
IMember target The target member where the data will be imported.
String source The source path from where the data will be imported.
Boolean bClearMember A flag indicating whether the target member should be cleared before the import.
Boolean bUseTargetConnection A flag indicating whether the target connection should be used for the import.

ImportFromCsvOptions(IMember, String, Boolean, Boolean, Boolean)

Initializes a new instance of the class with the specified target member, source path, clear member flag, use target connection flag, and skip first line flag.

ImportFromCsvOptions(IMember, String, Boolean, Boolean, Boolean)

Parameters

Type Parameter name Description
IMember target The target member where the data will be imported.
String source The source path from where the data will be imported.
Boolean bClearMember A flag indicating whether the target member should be cleared before the import.
Boolean bUseTargetConnection A flag indicating whether the target connection should be used for the import.
Boolean bSkipFirstLine A flag indicating whether the first line of the CSV data should be skipped during the import.

Properties

Type Name Description
Char DecimalPoint Gets or sets the decimal point for the CSV data.
Nullable<Char> FieldDelimiter Gets or sets the field delimiter for the CSV data.
Boolean SkipFirstLine Gets or sets a value indicating whether the first line of the CSV data should be skipped during the import.
Nullable<Char> TextDelimiter Gets or sets the text delimiter for the CSV data.