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.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.