Condividi tramite


ProvideObjectAttribute.Unregister Method

Definition

Unregisters this attribute.

public:
 override void Unregister(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext ^ context);
 override void Unregister(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext const & context);
public override void Unregister (Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext context);
override this.Unregister : Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext -> unit
Public Overrides Sub Unregister (context As RegistrationAttribute.RegistrationContext)

Parameters

context
RegistrationAttribute.RegistrationContext

Contains the location from where the registration information should be removed. It also contains other informations as the type being unregistered and path information.

Remarks

VSPackages implementing the ProvideObjectAttribute class need to override the Unregistermethod, but do not need to invoke it.

Applies to