Поделиться через


IVsConfigureToolboxItem Interface

Implemented by clients to configure managed toolbox items as they are added to the toolbox by registering them with the IToolboxService. Objects that implement this interface are created by means of CreateInstance. They should be registered under the $RegRoot$\ToolboxItemConfiguration key.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("6C3E27F9-775A-456B-8D37-2D7057ABB8F1")> _
Public Interface IVsConfigureToolboxItem
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("6C3E27F9-775A-456B-8D37-2D7057ABB8F1")]
public interface IVsConfigureToolboxItem
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"6C3E27F9-775A-456B-8D37-2D7057ABB8F1")]
public interface class IVsConfigureToolboxItem
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("6C3E27F9-775A-456B-8D37-2D7057ABB8F1")>]
type IVsConfigureToolboxItem =  interface end
public interface IVsConfigureToolboxItem

The IVsConfigureToolboxItem type exposes the following members.

Methods

  Name Description
Public method ConfigureToolboxItem Configures a toolbox item.

Top

Remarks

This interface enables clients to configure their items as they are added to the toolbox. For example, the Compact Framework Designer system uses this mechanism to add a ToolboxItemFilterAttribute("NETCF", ToolboxItemFilterType,Require) to hide their toolbox items from the Desktop Forms designer

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace