ProvideGlobalObjectProviderAttribute.Unregister Method

Removes this attribute from the registry using the specified registry context.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public Overrides Sub Unregister ( _
    context As RegistrationAttribute..::.RegistrationContext _
)
'使用
Dim instance As ProvideGlobalObjectProviderAttribute
Dim context As RegistrationAttribute..::.RegistrationContext

instance.Unregister(context)
public override void Unregister(
    RegistrationAttribute..::.RegistrationContext context
)
public:
virtual void Unregister(
    RegistrationAttribute..::.RegistrationContext^ context
) override
public override function Unregister(
    context : RegistrationAttribute..::.RegistrationContext
)

Parameters

Remarks

This method deletes the root Windows registry key that was created using RegPkg.exe (see How to: Register Managed VSPackages) or the Register method.

Permissions

See Also

Concepts

How to: Register Managed VSPackages

Reference

ProvideGlobalObjectProviderAttribute Class

ProvideGlobalObjectProviderAttribute Members

Microsoft.VisualStudio.Shell.Design Namespace

Register