NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegistryKey.DeleteValue

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
);

Parameters

name
Name of the value to delete.

Exceptions

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.

See Also

RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace