Container.Add Method (IComponent)

 

Adds the specified Component to the Container. The component is unnamed.

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

public virtual void Add(
	IComponent component
)

Parameters

component
Type: System.ComponentModel.IComponent

The component to add.

Exception Condition
ArgumentNullException

component is null.

This method can be overridden by a derived class.

The new Component is added to the end of the list.

.NET Framework
Available since 1.1
Return to top
Show: