SaveProperty


Function

 

Saves the property information to a file.

 

Format

 

Ret = dncButton1.SaveProperty(File)

 

Parameters

 

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

Specifies the file name to save the properties.

 

 

Return value

 

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

 

â– Common

Value

Description

0

Normality completion

510001

The input parameter is invalid. Check the parameter contents.

520001

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

Other errors (see: Error code details)

 

Remarks

 

You can save the property information in a file.

 

Example

 

Saves the property settings in "Property1.ini".

C#

int    Ret;

ret = dncButton1.SaveProperty("Property1.ini");

 

VB.NET

Dim Ret As Integer

Ret = dncButton1.SaveProperty("Property1.ini")