ToolboxCategoryItems.Remove(ToolboxCategory) 方法
定义
从 ToolboxCategoryItems 中移除特定工具箱类别的第一个匹配项。Removes the first occurrence of a specific toolbox category from the ToolboxCategoryItems.
public:
virtual bool Remove(System::Activities::Presentation::Toolbox::ToolboxCategory ^ item);
public bool Remove (System.Activities.Presentation.Toolbox.ToolboxCategory item);
abstract member Remove : System.Activities.Presentation.Toolbox.ToolboxCategory -> bool
override this.Remove : System.Activities.Presentation.Toolbox.ToolboxCategory -> bool
Public Function Remove (item As ToolboxCategory) As Boolean
参数
- item
- ToolboxCategory
要移除的 ToolboxCategory。The ToolboxCategory to remove.
返回
如果从集合中找到并移除了项,则为 true;否则为 false。true if the item is found and removed from the collection; otherwise, false. 如果找不到指定的 item,则此方法返回 false。This method returns false if the item specified is not found.