Gentee Programming Language > Documentation > Libraries Download documentation

str.regget

This method gets the value of a registry key in the form of a string.
 
str str.reggetdef(
      uint   root,
      str   subkey,
      str   valname,
      str   defval
)

Parameters

rootA root key.
$HKEY_CLASSES_ROOT
$HKEY_CURRENT_USER
$HKEY_LOCAL_MACHINE
$HKEY_USERS
subkeyA name of the registry key.
valnameA name of the specified key value.
defvalThe default string in case there is no value.


str str.regget(
      uint   root,
      str   subkey,
      str   valname
)

Parameters

rootA root key.
$HKEY_CLASSES_ROOT
$HKEY_CURRENT_USER
$HKEY_LOCAL_MACHINE
$HKEY_USERS
subkeyA name of the registry key.
valnameA name of the specified key value.

Return value

Returns the object which method has been called.

See also

    Working with the Registry


 Copyright © 2004-2006 Gentee Inc. All rights reserved.