IRegistryTools2.DeleteRegistryValueFromCurrentUserRoot(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the specified registry value from a key in the HKCU root Registry
public:
bool DeleteRegistryValueFromCurrentUserRoot(System::String ^ regKeyPath, System::String ^ regKeyName);
public bool DeleteRegistryValueFromCurrentUserRoot (string regKeyPath, string regKeyName);
abstract member DeleteRegistryValueFromCurrentUserRoot : string * string -> bool
Public Function DeleteRegistryValueFromCurrentUserRoot (regKeyPath As String, regKeyName As String) As Boolean
Parameters
- regKeyPath
- String
Path to the registry key in the format key\subkey\subsubkey
- regKeyName
- String
Variable name under the key
Returns
True if removed, or false if error