Share via


RegistrationAttribute.RegistrationContext.RemoveKey Method

Removes an existing registration key.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

Syntax

'Declaration
Public MustOverride Sub RemoveKey ( _
    name As String _
)
public abstract void RemoveKey(
    string name
)
public:
virtual void RemoveKey(
    String^ name
) abstract
abstract RemoveKey : 
        name:string -> unit
public abstract function RemoveKey(
    name : String
)

Parameters

  • name
    Type: 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.

.NET Framework Security

See Also

Reference

RegistrationAttribute.RegistrationContext Class

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.RegistrationContext

CreateKey

Unregister

RegistrationAttribute