IVsToolboxItemDiscoveryRegistrar::RegisterItemDiscovery Method (Type^, IToolboxItemDiscoveryFactory^)

 

Registers a factory that can supply toolbox items corresponding to managed types.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

void RegisterItemDiscovery(
	Type^ itemType,
	IToolboxItemDiscoveryFactory^ factory
)

Parameters

itemType
Type: System::Type^

A type that must match the discoveryType argument to ProvideToolboxItemDiscoveryAttribute.

factory
Type: Microsoft.VisualStudio.Shell::IToolboxItemDiscoveryFactory^

The factory to be registered.

Return to top
Show: