ProvideLoadKeyAttribute.Unregister Method

Definition

Unregisters this package's load key information

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

Remarks

Important

Packages that target Visual Studio 2010 only do not need a package load key.

Packages that target Visual Studio 2008 and earlier must have a package load key in order to validate and load VSPackages. This includes VSPackages provided by third parties, regardless of whether the hosting version of Visual Studio has a VSIP license.

VSPackages that implement the ProvideLoadKeyAttributeclass need to override the UnRegister method, but do not need to invoke it.

Applies to