ToolboxCategory.Remove(ToolboxItemWrapper) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除工具箱分類集合中指定工具的首次出現。
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 。
例外狀況
tool 是 null。