RegisterEditorExtensionAttribute::Register Method (RegistrationAttribute::RegistrationContext^)
Visual Studio 2015
Registers the editor extension.
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^
A RegistrationAttribute::RegistrationContext that describes the location and values of a registry key.
| Exception | Condition |
|---|---|
| ArgumentNullException | This method throws an ArgumentNullException if context is null. |
Provides registration information about a VSPackage when called by an external registration tool such as RegPkg.exe.
VSPackages implementing the RegisterEditorExtensionAttribute class do not need to call this method, since it is called by the registration tools.
The following registry entry is created by RegisterEditorExtensionAttribute:
<VSROOT>\Editors\{FactoryGuid}\Extensions\Extension=Priority
Show: