Home Notices Documents Classes Download Others Rice
Classes  >  preference  >  Load(string)
preference class : Load(string) method

Description

Loads user defined preferences stored to file.

Syntax

preferenceInstance.Execute(string path)

Arguments

ClassNameDescription
stringpathPath of a file.

Return value

None.

Sample code

1:

preference pref = new preference();

2:

string path = "c:\somewhere...";

3:

pref.Load(path);

Notes

The argument should be the full path to the file.

Links for reference

None.

Copyright © Rice All rights reserved.