LoadProperty


Function

 

Reads the property information from the property setting file.

 

Format

 

Ret = dncTextBox1.LoadProperty(File)

 

Parameters

 

 

File [ C#: string ] [ VB.NET: String ]

Specifies the target property setting file name.

 

 

Return value

 

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

 

Value

Description

0

Normality completion

510001

The input parameter is invalid. Check the parameter contents.

520001

Failed to input/output the file. Please check the file path and file name.

Other errors (see: Error code details)

 

Remarks

 

Changes to the property settings saved in the property settings file.

 

Example

 

Reads the property settings from "Property1.ini".

C#

int Ret;

ret = dncTextBox1.LoadProperty("Property1.ini");

 

VB.NET

Dim Ret As Integer

Ret = dncTextBox1.LoadProperty("Property1.ini")