Deletes a Key, and optionally all sub-keys, under the Hive and Root Key specified.

Syntax

ISWinRegistry.DeleteKey(hive, rootKey, key, [deleteSubKeys])

Parameters

NameTypeOptionalByRefDescription
hive iseWindowsRegistryHive The hive.
rootKey String
key String The key to delete.
deleteSubKeys Boolean Optional Optionally specify whether to delete all sub-keys under the Key. If omitted, a value of False is assumed.

Return Value

Boolean

Boolean indicating success/ failure

Member of:
ISWinRegistry
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0