ToolboxCategory.Remove(ToolboxItemWrapper) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of a specified tool from the toolbox category collection.
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
Parameters
- tool
- ToolboxItemWrapper
The ToolboxItemWrapper item to remove from the collection.
Returns
true
if the tool is successfully removed; otherwise, false
. This method also returns false
if the tool was not found in the collection.
Exceptions
The tool
is null
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.