Redigera

Dela via


ToolboxCategory.Remove(ToolboxItemWrapper) Method

Definition

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