getValue

getValue

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

Method of

WinReg object

Syntax

WinRegValue getValue ( String subkey, String valname);

Parameters

The getValue method has the following parameters:

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

Returns

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.

Description

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: Sheppy, Fredchat, trevorh, Rod Whiteley
Last updated by: Sheppy,
Hide Sidebar