Deletes the specified value from this key. The string subKey is not case sensitive.
[Visual Basic] Public Sub DeleteValue( _ ByVal name As String _ ) [C#] public void DeleteValue( string name ); [C++] public: void DeleteValue( String* name ); [JScript] public function DeleteValue( name : String );
Exception Type | Condition |
---|---|
ArgumentException | if name is not a valid reference to a value. |
SecurityException | if the user does not have RegistryPermission.SetInclude(delete, currentKey) access. |
RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace