Adds component to container
Namespace:
Greatis.FormDesignerAssembly: Greatis.FormDesigner.Interop (in Greatis.FormDesigner.Interop.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Add ( _ name As String, _ component As IComponent _ ) |
C# |
---|
void Add( string name, IComponent component ) |
Visual C++ |
---|
void Add( String^ name, IComponent^ component ) |
JavaScript |
---|
function add(name, component); |
Parameters
- name
- Type: System..::.String
name of the component
- component
- Type: System.ComponentModel..::.IComponent
added component