CreateComponentsCore(IDesignerHost) Method
See Also 
SourceCode.Framework.Design Namespace > ToolboxItemWizard Class > CreateComponentsCore Method : CreateComponentsCore(IDesignerHost) Method



host
The System.ComponentModel.Design.IDesignerHost to host the toolbox item.

Glossary Item Box

Creates a component or an array of components when the toolbox item is invoked.

Syntax

Visual Basic (Declaration) 
Protected Overloads Overrides NotOverridable Function CreateComponentsCore( _
   ByVal host As IDesignerHost _
) As IComponent()
Visual Basic (Usage)Copy Code
Dim instance As ToolboxItemWizard
Dim host As IDesignerHost
Dim value() As IComponent
 
value = instance.CreateComponentsCore(host)
C# 
protected override IComponent[] CreateComponentsCore( 
   IDesignerHost host
)
C++/CLI 
protected:
array<IComponent^>^ CreateComponentsCore( 
   IDesignerHost^ host
) override 

Parameters

host
The System.ComponentModel.Design.IDesignerHost to host the toolbox item.

Return Value

An array of created System.ComponentModel.IComponent objects.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also