Share via


IVsToolboxItemDiscoveryRegistrar Interface

Definition

Implemented by service SVsToolboxItemDiscoveryRegistrar, which is provided by the shell. Packages wishing to provide toolbox items from managed types should call RegisterItemDiscovery when they load. Packages deriving from Microsoft.VisualStudio.Shell.Package get this behavior by default from their base class. In that case, the behavior of the object is controlled by parameters provided to ProvideToolboxItemDiscoveryAttribute.

public interface class IVsToolboxItemDiscoveryRegistrar
public interface class IVsToolboxItemDiscoveryRegistrar
__interface IVsToolboxItemDiscoveryRegistrar
[System.Runtime.InteropServices.Guid("8F0D4E82-FB37-4433-8296-736A43D6FC4C")]
public interface IVsToolboxItemDiscoveryRegistrar
[<System.Runtime.InteropServices.Guid("8F0D4E82-FB37-4433-8296-736A43D6FC4C")>]
type IVsToolboxItemDiscoveryRegistrar = interface
Public Interface IVsToolboxItemDiscoveryRegistrar
Attributes

Remarks

If you want your packages to provide toolbox items from managed types, they should call RegisterItemDiscovery when they load. Packages deriving from Microsoft.VisualStudio.Shell.Package get this behavior by default from their base class. In that case, the behavior of the object is controlled by parameters provided to ProvideToolboxItemDiscoveryAttribute.

Methods

RegisterItemDiscovery(Type, IToolboxItemDiscoveryFactory)

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

Applies to