Developing Components

This section defines what a component is and provides an overview of .NET Framework programming concepts that are especially relevant to component programming. While the term component has many meanings, in the .NET Framework a component is a class that implements the System.ComponentModel.IComponent interface or one that derives directly or indirectly from a class that implements this interface.

If you want your components and controls to be usable from other programming languages, you must author them in a Common Language Specification (CLS)-compliant language and ensure that all public and protected members are CLS-compliant. The .NET Framework SDK provides compilers for four CLS-compliant languages — Visual Basic .NET, C#, the Managed Extensions for C++, and JScript .NET. For more information about the CLS, see What is the Common Language Specification?.

In This Section