NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDesignerHost.CreateComponent

Creates a component of the specified class type.

Overload List

Creates a component of the given class type and name and places it into the designer container.

[Visual Basic] Overloads Function CreateComponent(Type, String) As IComponent
[C#] IComponent CreateComponent(Type, String);
[C++] IComponent* CreateComponent(Type*, String) = 0;
[JScript] function CreateComponent(Type, String) : IComponent;

Creates a component of the specified class type.

[Visual Basic] Overloads Function CreateComponent(Type) As IComponent
[C#] IComponent CreateComponent(Type);
[C++] IComponent* CreateComponent(Type*) = 0;
[JScript] function CreateComponent(Type) : IComponent;

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace