n_cst_apppreference::of_restore - Syntaxe 5

Method of_Restore - Syntaxe 5
Access Protected
Arguments
ai_filetype, Function behavior. - use the registry, an .ini or .xml file.
Possible values are :
CST_FILETYPE_REG (1)
CST_FILETYPE_INI (2)
CST_FILETYPE_XML (3)
as_keyoriniorxml,The KeyName for use with the Registry , the Ini or XML file name for use with an .Ini or .Xml File.
as_inisectionxmlroot, The name of the .Ini section. or Xml Root.
as_subkeyelement, The key/element value to be used on either the Registry , .Ini or .Xml file.
as_value (by Ref), The value to be restored from either the Registry, .Ini or .Xml file
as_default, Used also as a default value, if the desired value is not found.
Returns Integer - 1, OK
-1, An Error Occurs
Description Get informations to restore from the adequate source according to specified ai_filetype
Usage this method is called internally when restoring Application or User preferences.

Last edited Sep 20, 2015 at 9:06 PM by domangep, version 1

Comments

No comments yet.