System.ComponentModel.Container Class

Encapsulates zero or more components.

See Also: Container Members

Syntax

public class Container : IContainer, IDisposable

Remarks

The System.ComponentModel.Container class is the default implementation for the System.ComponentModel.IContainer interface.

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.

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. Added components are appended to the end of the list.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0