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