IToolboxService.AddToolboxItem 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.
Adds the specified toolbox item to the toolbox.
Overloads
AddToolboxItem(ToolboxItem) |
Adds the specified toolbox item to the toolbox. |
AddToolboxItem(ToolboxItem, String) |
Adds the specified toolbox item to the toolbox in the specified category. |
AddToolboxItem(ToolboxItem)
Adds the specified toolbox item to the toolbox.
public:
void AddToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem);
public void AddToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem);
abstract member AddToolboxItem : System.Drawing.Design.ToolboxItem -> unit
Public Sub AddToolboxItem (toolboxItem As ToolboxItem)
Parameters
- toolboxItem
- ToolboxItem
The ToolboxItem to add to the toolbox.
Applies to
AddToolboxItem(ToolboxItem, String)
Adds the specified toolbox item to the toolbox in the specified category.
public:
void AddToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category);
public void AddToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category);
abstract member AddToolboxItem : System.Drawing.Design.ToolboxItem * string -> unit
Public Sub AddToolboxItem (toolboxItem As ToolboxItem, category As String)
Parameters
- toolboxItem
- ToolboxItem
The ToolboxItem to add to the toolbox.
- category
- String
The toolbox item category to add the ToolboxItem to.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om