語言

ToolboxCategory.Add(ToolboxItemWrapper) 方法

定義

將指定工具加入工具箱分類集合的末尾。

public:
 void Add(System::Activities::Presentation::Toolbox::ToolboxItemWrapper ^ tool);
public void Add(System.Activities.Presentation.Toolbox.ToolboxItemWrapper tool);
member this.Add : System.Activities.Presentation.Toolbox.ToolboxItemWrapper -> unit
Public Sub Add (tool As ToolboxItemWrapper)

參數

tool
ToolboxItemWrapper

ToolboxItemWrapper要加入收藏的物品。

例外狀況

tool 是 null。

適用於