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
context
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContextThe RegistrationAttribute.RegistrationContext that contains registration data.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
How to: Register Managed VSPackages
Reference
ProvideGlobalObjectProviderAttribute Class
ProvideGlobalObjectProviderAttribute Members