IVsToolboxItemDiscoveryRegistrar Interface
Defines a toolbox item type. You can get an instance of the interface from the SVsToolboxItemDiscoveryRegistrar service.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'Declaration
<GuidAttribute("8F0D4E82-FB37-4433-8296-736A43D6FC4C")> _
Public Interface IVsToolboxItemDiscoveryRegistrar
[GuidAttribute("8F0D4E82-FB37-4433-8296-736A43D6FC4C")]
public interface IVsToolboxItemDiscoveryRegistrar
[GuidAttribute(L"8F0D4E82-FB37-4433-8296-736A43D6FC4C")]
public interface class IVsToolboxItemDiscoveryRegistrar
[<GuidAttribute("8F0D4E82-FB37-4433-8296-736A43D6FC4C")>]
type IVsToolboxItemDiscoveryRegistrar = interface end
public interface IVsToolboxItemDiscoveryRegistrar
The IVsToolboxItemDiscoveryRegistrar type exposes the following members.
Methods
Name | Description | |
---|---|---|
RegisterItemDiscovery | Registers a factory that can supply toolbox items corresponding to managed types. |
Top
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.