Freigeben über


RegistrationAttribute.RegistrationContext.RemoveKey(String) Method

Definition

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.

Applies to