ToolboxCategory.Add(ToolboxItemWrapper) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定工具加入工具箱分類集合的末尾。
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。