次の方法で共有


RegistrationAttribute.RegistrationContext.RemoveKey Method

Removes an existing registration key.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
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.

Permissions

See Also

Reference

RegistrationAttribute.RegistrationContext Class

RegistrationAttribute.RegistrationContext Members

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.RegistrationContext

CreateKey

Unregister

RegistrationAttribute