Partager via


IToolboxItemDiscovery Interface

Provides information about managed types from which toolbox items could be created.

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

Syntax

'Declaration
Public Interface IToolboxItemDiscovery
public interface IToolboxItemDiscovery
public interface class IToolboxItemDiscovery
type IToolboxItemDiscovery =  interface end
public interface IToolboxItemDiscovery

The IToolboxItemDiscovery type exposes the following members.

Properties

  Name Description
Public property AdditionalAssemblyPaths Gets a collection of additional assembly paths to search for toolbox items.

Top

Methods

  Name Description
Public method GetItemInfo Returns the IToolboxItemInfo corresponding to a given type.

Top

Remarks

Implemented by packages and supplied from CreateItemDiscovery. Packages deriving from Package supply this object through the discoveryType argument to ProvideToolboxItemDiscoveryAttribute. This object is only used in a secondary application domain that is unloaded after assembly enumeration completes.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace