ProvideAutomationObjectAttribute.Register(RegistrationAttribute+RegistrationContext) Метод

Определение

Регистрирует этот атрибут, когда вызывается внешним средством регистрации, таким как RegPkg.exe.

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)

Параметры

context
RegistrationAttribute.RegistrationContext

Объект RegistrationAttribute.RegistrationContext, предоставляемый внешним средством регистрации. Контекст может использоваться для создания разделов реестра, записи в журнал действия регистрации и получения сведений о регистрируемом компоненте.

Применяется к