WriteLineData [String]


Function

 

Append one line of character string data to the file.

 

Format

 

Ret = dncWriteFile1.WriteLineData(Data)

 

Parameters

 

Data [ C#: string[] ]  [ VB.NET: String() ]  

Specify the data for one line to be appended to the file as a character string in a one-dimensional array.

 

The number of data to be appended is up to the value set in ColumnNum.

The data part that exceeds the set value will not be appended.

 

Return value

 

Ret [ C#: int ] [ VB.NET: Integer ]

 

Value

Description

0

Normality completion

520001

Failed to input / output the file. Check the file path and file name.

Other errors (see: Error code details)

 

Remarks

 

Append one line of character string data to the file.

 

Example

 

Write one line of data "0, 100, 200" to the file.

C#

int Ret
string[] Data = new string[3];

Data[0] = "0";
Data[1] = "100";
Data[2] = "200";

Ret = dncWriteFile1.WriteLineData(Data);

 

VB.NET

Dim Ret As Integer
Dim Data(2) As String

Data(0) = "0";
Data(1) = "100";
Data(2) = "200";

Ret = dncWriteFile1.WriteLineData(Data)