Add Method (IComponent, String)
Collapse the table of content
Expand the table of content

IContainer.Add Method (IComponent, String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds a component to the container.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

'Declaration
Sub Add ( _
	component As IComponent, _
	name As String _
)

Parameters

component
Type: System.ComponentModel.IComponent
The component to add.
name
Type: System.String
Identifying name for the component.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft