RegisterEditorExtensionAttribute.Register Method

Definition

Registers the editor extension.

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

Parameters

context
RegistrationAttribute.RegistrationContext

A RegistrationAttribute.RegistrationContext that describes the location and values of a registry key.

Exceptions

This method throws an ArgumentNullException if context is null.

Remarks

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

Applies to