ProvideLanguageEditorOptionPageAttribute.Register Method

Definition

Creates all the registry keys and entries as specified by the class constructor.

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

[in] A RegistrationAttribute.RegistrationContext object used to manage registry keys.

Remarks

This method is called to create the necessary registry keys and entries to specify a property page. Typically, a program such as Regpkg.exe reads a specified assembly and looks for all attributes that inherit from the RegistrationAttribute class. 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 the appropriate registry keys and entries to be created.

Note that this method is an override of the Register method.

Applies to