This documentation is archived and is not being maintained.

Component Authoring

The designers in Visual Studio .NET make it easy to author components and you can extend their functionality to provide a better programming experience for users of your components.

Visual Basic Note   Visual Basic programmers should be familiar with object-based programming concepts. It is not necessary to have a thorough understanding of inheritance, but you may find it useful to refer to Inheritance.

In This Section

Component Authoring Walkthroughs
Links to topics that provide step-by-step instruction for component programming.
Authoring Components
Gives the general procedure for creating your own component.
Component Architecture
Explains how the .NET Framework supports component programming: Naming recommendations, assemblies, the common language specification, and how garbage collection affects object lifetime.
Component Classes
Describes what makes a class a component, ways to expose component functionality, controlling access to components, and controlling how component instances are created.
Implementing Properties, Methods, Members, and Events in Components
Provides links to topics that explain the implementation of properties and methods in your component.
Interfaces and Abstract Classes
Describes how to implement polymorphic behavior in your components through interfaces and abstract classes.
Multithreading in Components
Discusses how to implement multithreading in your components.
Displaying Forms from Components
Demonstrates how to display a form from a nonvisual component.
Code Libraries
Discusses issues involved with creating and implementing code libraries.
Creating Code Libraries
Demonstrates how to create a code library from multiple projects.
Components and Containers
Describes the relationship between a component and its container, and how this relationship affects the architecture of your applications.
Components That Contain Other Components
Discusses having an object model in your component, and how to implement complex components.
Exceptions in Components
Provides an overview of structured exception handling and its use in component programming.
Code Security in Components
Demonstrates how to implement code security in your components.
User Assistance for Components
Describes how to implement help files for your components.
Control Authoring for Windows Forms
Provides information on how to author user controls and inherited controls for use in windows forms.
Private Communication Between Components in Assemblies
Describes how to allow components to communicate without exposing that communication to a client application.

Related Sections

Troubleshooting Control and Component Authoring
Explains how to fix common problems.
Visual Basic Code Example Topics
Lists quickstart-like code examples that help you perform common tasks in Visual Basic .NET.
What is the Common Language Specification?
Introduces the common language runtime, which is designed to simplify the creation and use of components. An important aspect of this simplification is enhanced interoperability between components written using different programming languages. The common language specification (CLS) makes it possible to create tools and components that are guaranteed to work with multiple languages.
Component Model Namespaces in Visual Studio
Describes the namespaces used in component authoring and the classes contained in those namespaces.
Decision Chart
Provides a graphical, linked guide to decisions about designing your application.
Enhancing Design-Time Support
Provides links to a variety of topics related to creating design-time support for your components, such as implementing UI type editors, type converters, and custom designers.
Design-Time Support for Windows Forms
Provides samples of design-time implementations in Windows Forms, such as UI type editors, extender providers, and designers.