Share via


IVsToolboxItemDiscoveryRegistrar.RegisterItemDiscovery Method

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)

Syntax

'Declaration
Sub RegisterItemDiscovery ( _
    itemType As Type, _
    factory As IToolboxItemDiscoveryFactory _
)
void RegisterItemDiscovery(
    Type itemType,
    IToolboxItemDiscoveryFactory factory
)
void RegisterItemDiscovery(
    Type^ itemType, 
    IToolboxItemDiscoveryFactory^ factory
)
abstract RegisterItemDiscovery : 
        itemType:Type * 
        factory:IToolboxItemDiscoveryFactory -> unit
function RegisterItemDiscovery(
    itemType : Type, 
    factory : IToolboxItemDiscoveryFactory
)

Parameters

.NET Framework Security

See Also

Reference

IVsToolboxItemDiscoveryRegistrar Interface

Microsoft.VisualStudio.Shell Namespace