共用方式為


IVsConfigureToolboxItem Interface

Definition

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(Guid, Object, Guid, UInt32, IntPtr). They should be registered under the $RegRoot$\ToolboxItemConfiguration key.

public interface class IVsConfigureToolboxItem
public interface class IVsConfigureToolboxItem
__interface IVsConfigureToolboxItem
public interface IVsConfigureToolboxItem
[System.Runtime.InteropServices.Guid("6C3E27F9-775A-456B-8D37-2D7057ABB8F1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsConfigureToolboxItem
type IVsConfigureToolboxItem = interface
[<System.Runtime.InteropServices.Guid("6C3E27F9-775A-456B-8D37-2D7057ABB8F1")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsConfigureToolboxItem = interface
Public Interface IVsConfigureToolboxItem
Attributes

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

Methods

ConfigureToolboxItem(Object)

Configures a toolbox item.

Applies to