ProvideLoadKeyAttribute::Unregister Method (RegistrationAttribute::RegistrationContext^)
Removes the registration information about a VSPackage when called by an external registration tool such as regpkg.exe.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual void Unregister( RegistrationAttribute::RegistrationContext^ context ) override
Parameters
- context
-
Type:
Microsoft.VisualStudio.Shell::RegistrationAttribute::RegistrationContext^
A registration context provided by an external registration tool. The context can be used to create registry keys, log registration activity, and obtain information about the component being registered.
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 ProvideLoadKeyAttribute class need to override the UnRegister method, but do not need to invoke it.
