共用方式為


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 介面時,才能使用這個成員。

適用於