ToolboxService.IToolboxService.AddLinkedToolboxItem 方法

定义

将与项目链接的工具箱项添加到工具箱。

重载

IToolboxService.AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

有关此成员的说明,请参见 AddLinkedToolboxItem(ToolboxItem, IDesignerHost) 方法。

IToolboxService.AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

有关此成员的说明,请参见 AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost) 方法。

IToolboxService.AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

有关此成员的说明,请参见 AddLinkedToolboxItem(ToolboxItem, IDesignerHost) 方法。

 virtual void System.Drawing.Design.IToolboxService.AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::ComponentModel::Design::IDesignerHost ^ host) = System::Drawing::Design::IToolboxService::AddLinkedToolboxItem;
void IToolboxService.AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, System.ComponentModel.Design.IDesignerHost host);
abstract member System.Drawing.Design.IToolboxService.AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * System.ComponentModel.Design.IDesignerHost -> unit
override this.System.Drawing.Design.IToolboxService.AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * System.ComponentModel.Design.IDesignerHost -> unit
Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, host As IDesignerHost) Implements IToolboxService.AddLinkedToolboxItem

参数

toolboxItem
ToolboxItem

要添加到工具箱中的已链接 ToolboxItem

host
IDesignerHost

当前设计文档的 IDesignerHost

实现

注解

此成员是显式接口成员的实现。 它只能在 ToolboxService 实例被强制转换为 IToolboxService 接口时使用。

适用于

IToolboxService.AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

有关此成员的说明,请参见 AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost) 方法。

 virtual void System.Drawing.Design.IToolboxService.AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category, System::ComponentModel::Design::IDesignerHost ^ host) = System::Drawing::Design::IToolboxService::AddLinkedToolboxItem;
void IToolboxService.AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category, System.ComponentModel.Design.IDesignerHost host);
abstract member System.Drawing.Design.IToolboxService.AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * string * System.ComponentModel.Design.IDesignerHost -> unit
override this.System.Drawing.Design.IToolboxService.AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * string * System.ComponentModel.Design.IDesignerHost -> unit
Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, category As String, host As IDesignerHost) Implements IToolboxService.AddLinkedToolboxItem

参数

toolboxItem
ToolboxItem

要添加到工具箱中的已链接 ToolboxItem

category
String

要添加给工具箱项的工具箱项类别。

host
IDesignerHost

当前设计文档的 IDesignerHost

实现

注解

此成员是显式接口成员的实现。 它只能在 ToolboxService 实例被强制转换为 IToolboxService 接口时使用。

适用于