Provides functionality required by all components.
IComponent
[Visual Basic] Public Interface IComponent [C#] public interface IComponent [C++] public __gc __interface IComponent
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
Component | Provides an abstraction that enables object-sharing between applications. |
Control | Defines the properties, methods, and events common to all server controls in the ASP+ Page framework. |
HttpApplication | |
MarshalByRefComponent | Represents the base implementation for IComponent, which is the base for all components in WinForms. A component can be hosted in a container. For each component in a container, the container creates a site that it uses to manage the component. |
Components can be contained in a container. 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.
A component interacts with its container primarily through a container-provided ISite, which is a repository of container-specific per-component information.
Notes to Implementers: To be a component, a class must implement the IComponent interface and provide a basic constructor that requires no parameters.
Namespace: System.ComponentModel
Assembly: mscorlib.dll
IComponent Members | System.ComponentModel Namespace | Container | IContainer | ISite