next up previous contents
Next: write Up: Methods Previous: getValues   Contents

getValue

Description

Gets value under the key.


Syntax

Regkey. getValue ([name])


Parameters

name
Optional. Specifies the name of the value to retrieve. The method returns the default value if this parameter is not set.


Returns

A RegValue Object represents the value.


Example

var r = new RegKey("HKCU\\Software\\Demo");
var rv = r.getValue("test");
trace(rv.data);




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.