RegistrationAttribute.RegistrationContext.RemoveKey Method

Removes an existing registration key.

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

Syntax

声明
Public MustOverride Sub RemoveKey ( _
    name As String _
)
用法
Dim instance As RegistrationAttribute..::..RegistrationContext
Dim name As String

instance.RemoveKey(name)
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

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

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.RegistrationContext

CreateKey

Unregister

RegistrationAttribute