DeleteValue
Deletes the value from the registry.
Public Sub DeleteValue(
ByRef Name As String,
Optional ByVal ThrowOnMissingValue As Boolean = True )
Parameters
- Name
-
[ByRef]
String.
The name of the value to be deleted, or an empty string to delete the default value for the key.
- ThrowOnMissingValue
-
[ByVal]
Optional.
Boolean.
Whether to throw an exception if the value was not found.
Default: True
See Also
Project CorLib Overview
Class RegistryKey Overview