System.Registry.loadBoolean() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System.Registry Class Summary

Availability
Windows

Usage
mdm.System.Registry.loadBoolean(keyBranchID:Number, keyName:String, keyNameValue:String):String

Parameters
keyBranchID:Number - Branch key ID

keyName:String - Key name to search

keyNameValue:String - Key name to search

Returns
A String

Description
Returns a String indicating the Boolean value from the specified registry key.

Notes
This method will return "true" or "false".

While the registry command looks for a specific type of key (string,integer or boolean) the actual value is always submitted as a string.

The key branch ID can be:

'1' - HKEY_CLASSES_ROOT
'2' - HKEY_CURRENT_USER
'3' - HKEY_LOCAL_MACHINE
'4' - HKEY_USERS
'5' - HKEY_CURRENT_CONFIG

Example Code
var hasValue:String = mdm.System.Registry.loadBoolean(2, "SOFTWARE\\Microsoft\\Internet Explorer", "Version");

mdm.System.Registry Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page