RegistrationAttribute.RegistrationContext.RemoveKey(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.
Removes an existing registration key.
public:
abstract void RemoveKey(System::String ^ name);
public:
abstract void RemoveKey(Platform::String ^ name);
abstract void RemoveKey(std::wstring const & name);
public abstract void RemoveKey (string name);
abstract member RemoveKey : string -> unit
Public MustOverride Sub RemoveKey (name As String)
Parameters
- name
- String
The name of the key to remove.
Remarks
The key is deleted from the correct Visual Studio registry root. This method is typically called from within the Unregister method of a class derived from RegistrationAttribute.