Encapsulates zero or more components.
Object
Container
[Visual Basic] Public Class Container Implements IContainer [C#] public class Container : IContainer [C++] public __gc class Container : public IContainer [JScript] public class Container implements IContainer
The Container class is the default implementation for the IContainer interface.
Containers are objects that encapsulate and track zero or more components. In this context, "containment" refers to logical containment, not visual containment. Components and containers can be used in a variety of scenarios, including both visual and non-visual scenarios.
The components in a container are tracked in a first-in-first-out list, which also defines the order of the components within the container.
Namespace: System.ComponentModel
Assembly: mscorlib.dll
Container Members | System.ComponentModel Namespace | IContainer | IComponent | Component