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