Provides functionality for containers. Containers are objects that logically contain zero or more components.
Assembly: System (in System.dll)
Thetype exposes the following members.
|Add(IComponent)||Adds the specified IComponent to the at the end of the list.|
|Add(IComponent, String)||Adds the specified IComponent to the at the end of the list, and assigns a name to the component.|
|Dispose||Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)|
|Remove||Removes a component from the .|
Containers are objects that encapsulate and track zero or more components. In this context, containment refers to logical containment, not visual containment. You can use components and containers in a variety of scenarios, including scenarios that are both visual and not visual.Notes to Implementers
To be a container, the class must implement the interface, which supports methods for adding, removing, and retrieving components.