Share via


IToolboxService.AddLinkedToolboxItem 方法

定義

加入專案連結的工具箱項目至工具箱。

多載

AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

將指定的專案連結工具箱項目加入至工具箱。

AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

將指定的專案連結工具箱項目加入至指定分類中的工具箱。

AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

將指定的專案連結工具箱項目加入至工具箱。

public:
 void AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::ComponentModel::Design::IDesignerHost ^ host);
public void AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, System.ComponentModel.Design.IDesignerHost host);
abstract member AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * System.ComponentModel.Design.IDesignerHost -> unit
Public Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, host As IDesignerHost)

參數

toolboxItem
ToolboxItem

要加入至工具箱的連結 ToolboxItem

host
IDesignerHost

目前設計文件的 IDesignerHost

備註

連結的工具箱專案是僅適用於特定專案的工具箱專案。

適用於

AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

將指定的專案連結工具箱項目加入至指定分類中的工具箱。

public:
 void AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category, System::ComponentModel::Design::IDesignerHost ^ host);
public void AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category, System.ComponentModel.Design.IDesignerHost host);
abstract member AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * string * System.ComponentModel.Design.IDesignerHost -> unit
Public Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, category As String, host As IDesignerHost)

參數

toolboxItem
ToolboxItem

要加入至工具箱的連結 ToolboxItem

category
String

要加入工具箱項目的工具箱項目分類。

host
IDesignerHost

目前設計文件的 IDesignerHost

備註

連結的工具箱專案是僅適用於特定專案的工具箱專案。

適用於