Creates a component of the specified class type.
[Visual Basic] Overloads Function CreateComponent( _ ByVal componentClass As Type _ ) As IComponent [C#] IComponent CreateComponent( Type componentClass ); [C++] IComponent* CreateComponent( Type* componentClass ) = 0; [JScript] function CreateComponent( componentClass : Type ) : IComponent;
The newly created component.
No name is specified with this method. The method creates the component and sites it into the designer container.
IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | IDesignerHost.CreateComponent Overload List | IComponent