CRegistry:DeleteKey CRegistry:GetBool

CRegistry:DeleteValue


The DeleteKey method deletes a registry value inside a registry key. The registry value is saved as a keyword-value pair under the key name.

Syntax

CRegistry:DeleteValue( sKey, sValue )

bullet.gif    Deletes the named value (keyword-value pair) sValue under the key sKey.

Example

The following script opens the registry key named "MyKey" and deletes the value named 'MyValue":

R = new_registry("MyKey")

-- open the key named "MyKey".

  ...

-- do something with the registry.

R:DeleteKey("MyKey", "MyValue")

-- delete the value named "MyValue".

Related Topics

CRegistry class

DeleteKey

Open


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.