<cAppConfig>.Save

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > AppConfig > cAppConfig Class > <cAppConfig> Methods >

<cAppConfig>.Save

 

Description

 

Save AppConfig XML file.

 

Syntax

 

Syntax

 

n = <cAppConfig>.Load[(XMLFile)]

 

Returns

 

Number.

If success, it will return the number of key/value pairs saved.

If errore, -1 will be returned

 

Parameters

 

Name

Type

Optional

Meaning

XMLFile

String

Yes

A valid AppConfig XML file with full path

 

 

Remarks

 

If XMLFile is not passed or is an empty string, original loaded file name (if present) will be used.

 

Restrictions

 

See also

 

Examples

 

See cAppConfig example