Netscape 6 and Mozilla do not currently support this method. Retrieves the value of an arbitrary key.

Method of

WinReg object


WinRegValue getValue ( String subkey, String valname);


The getValue method has the following parameters:

The key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".
The name of the value-name/value pair whose value you want.


A WinRegValue object representing the value of the named value-name/value pair or null if there is no value or if there is an error. See WinRegValue for information about these values.


The getValue method retrieves the value of an arbitraty key. Use this method if the value you want is not a string. If the value is a string, the getValueString method is more convenient.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, Sheppy, trevorh, Fredchat, Rod Whiteley
Last updated by: mdnwebdocs-bot,