語言

IToolboxService.AddLinkedToolboxItem 方法

定義

新增一個專案連結的工具箱項目到工具箱中。

多載

名稱 Description
AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

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

AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

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

AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs

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

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)

來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs
來源:
IToolboxService.cs

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

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這是目前的設計文件。

備註

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

適用於