ToolboxCategory.Add(ToolboxItemWrapper) 方法

定义

在工具箱类别集合的末尾添加一个指定的工具。Adds a specified tool to the end of the toolbox category collection.

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 项。The ToolboxItemWrapper item to add to the collection.

异常

toolnullThe tool is null.

适用于