ToolboxCategoryItems.Add(ToolboxCategory) 方法

定义

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

public:
 virtual void Add(System::Activities::Presentation::Toolbox::ToolboxCategory ^ item);
public void Add (System.Activities.Presentation.Toolbox.ToolboxCategory item);
abstract member Add : System.Activities.Presentation.Toolbox.ToolboxCategory -> unit
override this.Add : System.Activities.Presentation.Toolbox.ToolboxCategory -> unit
Public Sub Add (item As ToolboxCategory)

参数

item
ToolboxCategory

要添加到集合中的 ToolboxCategoryThe ToolboxCategory to add to the collection.

实现

异常

itemnullThe item is null.

适用于