ProvideLanguageServiceAttribute::Register Method (RegistrationAttribute::RegistrationContext^)
This API supports the product infrastructure and is not intended to be used directly from your code.
Creates all of the registry keys and entries as specified by the class constructor.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual void Register( RegistrationAttribute::RegistrationContext^ context ) override
Parameters
- context
-
Type:
Microsoft.VisualStudio.Shell::RegistrationAttribute::RegistrationContext^
[in] A RegistrationAttribute::RegistrationContext object used to manage registry keys.
This method is called to create all of the necessary registry entries to establish a language service as a language service. Typically, a program such as regpkg.exe reads a specified assembly and looks for all attributes that inherit from the RegistrationAttribute. Regpkg.exe then instantiates each attribute, supplying the appropriate parameters that were specified when the attribute was compiled. Finally, regpkg.exe calls the Register method on the newly created object to cause all of the appropriate registry keys and entries to be created.
Note that this method is an override of and specific to the managed package framework (MPF) RegistrationAttribute class.