ToolboxCategory.Remove(ToolboxItemWrapper) 方法

定義

從工具箱分類集合中移除第一個出現的指定工具。

public:
 bool Remove(System::Activities::Presentation::Toolbox::ToolboxItemWrapper ^ tool);
public bool Remove (System.Activities.Presentation.Toolbox.ToolboxItemWrapper tool);
member this.Remove : System.Activities.Presentation.Toolbox.ToolboxItemWrapper -> bool
Public Function Remove (tool As ToolboxItemWrapper) As Boolean

參數

tool
ToolboxItemWrapper

要從集合中移除的 ToolboxItemWrapper 項目。

傳回

如果成功移除工具,則為 true,否則為 false。 如果在集合中找不到工具,這個方法也會傳回 false

例外狀況

toolnull

適用於