valueExists
Returns whether a value for the given key exists.
Method of
Syntax
boolean keyExists (
string key
string value );Parameters
The method has the following parameters:
keyA string representing the path to the key. valueA string representing the value being queried. Returns
Description
If the user does not have read access to the given key, this will also return false.
Example
winreg = getWinRegistry();{
if ( winreg != null )winreg.setRootKey( winreg.HKEY_LOCAL_MACHINE);
if(winreg.valueExists("SOFTWARE\\mozilla", "value name"))
{
| Netscape Communications devedge.netscape.com |