ProvideGlobalObjectProviderAttribute::Register Method (RegistrationAttribute::RegistrationContext^)

 

Registers this attribute using the specified registry context.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
virtual void Register(
	RegistrationAttribute::RegistrationContext^ context
) override

The Register method registers the ProvideGlobalObjectProviderAttribute instance using the supplied registry context, which supplies information such as the component type and path, associated in-process server, assembly location, and so on.

The following Windows registry entries are created by Register.

VSROOT\GlobalObjectProviders\{ObjectGuid}=<provider name>

VSROOT\CLSID\{ObjectGuid}

VSROOT\CLSID\{ObjectGuid}\@=<ObjectType.FullName>

VSROOT\CLSID\{ObjectGuid}\InprocServer32=< context.InprocServerPath, typically "mscoree.dll">

VSROOT\CLSID\{ObjectGuid}\Class=< ProviderType.FullName>

VSROOT\CLSID\{ObjectGuid}\Assembly=<ProviderType.Assembly.FullName>

VSROOT\CLSID\{ObjectGuid}\ThreadingModel="Both"

Return to top
Show: