ActivityToolboxItem::CreateComponentsCore Method (IDesignerHost^)
.NET Framework (current version)
Namespace:
System.Workflow.ComponentModel.Design
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Return to top
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
protected: virtual array<IComponent^>^ CreateComponentsCore( IDesignerHost^ host ) override
Parameters
- host
-
Type:
System.ComponentModel.Design::IDesignerHost^
The IDesignerHost to host the toolbox item.
Return Value
Type: array<System.ComponentModel::IComponent^>^An array of created IComponent objects.
The CreateComponentsCore method returns the component or components that the ActivityToolboxItem creates.
The following example shows a complete ActivityToolboxItem class for a custom activity. In this example, the CreateComponentsCore method is overridden in order to insert 2 custom activities within a ParallelActivity.
.NET Framework
Available since 3.0
Available since 3.0
Show: