Visual Basic (Declaration) | |
---|---|
Protected Overloads Overrides NotOverridable Function CreateComponentsCore( _ ByVal host As IDesignerHost, _ ByVal defaultValues As IDictionary _ ) As IComponent() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ToolboxItemWizard Dim host As IDesignerHost Dim defaultValues As IDictionary Dim value() As IComponent value = instance.CreateComponentsCore(host, defaultValues) |
C# | |
---|---|
protected override IComponent[] CreateComponentsCore( IDesignerHost host, IDictionary defaultValues ) |
C++/CLI | |
---|---|
protected: array<IComponent^>^ CreateComponentsCore( IDesignerHost^ host, IDictionary^ defaultValues ) override |
Parameters
- host
- The designer host to use when creating components.
- defaultValues
- A dictionary of property name/value pairs of default values with which to initialize the component.
Return Value
An array of created System.ComponentModel.IComponent objects.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