getValueString
Retrieves the value of a key when that value is a string.
Method of
Syntax
String getValueString (
String subkey,
String valname);Parameters
The
getValueStringmethod has the following parameters:
subkeyThe key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".valnameThe name of the value-name/value pair whose value you want. Returns
A string representing the value of the named value-name/value pair or null if there's an error, the value is not found, or the value is not a string.
Description
The
getValueStringmethod gets the value of a string. If the value is not a string, use thegetValuemethod instead.
| Netscape Communications devedge.netscape.com |