Export (0) Print
Expand All

Interfaces and Abstract Classes

Visual Studio .NET 2003

Interfaces and abstract classes allow you to create definitions for component interaction. Through interfaces, you can specify methods that a component must implement without actually specifying how the method is implemented. Abstract classes allow you to create definitions for behavior while providing some common implementation for inheriting classes. Both are valuable tools for implementing polymorphic behavior in your components.

In This Section

Polymorphism in Components
Provides an overview of polymorphism in components, and different ways you can implement polymorphic behavior in your components.
Abstract Classes
Describes what abstract classes are and how to use them.
Interface Definition and Factoring Design Considerations
Provides recommendations for designing your own interfaces.
Implementing Existing Interfaces
Describes how to implement an existing interface.
Recommendations for Abstract Classes vs. Interfaces
Provides recommendations for when to create an abstract class and when to create an interface.
Design Recommendations for Interfaces and Components
Makes recommendations for best practices when designing your interfaces and components.
Interface Implementation Examples
Provides examples of interface implementation.

Related Sections

Component Authoring
Provides links to topics on all aspects of component authoring.
Component Authoring Walkthroughs
Links to walkthroughs for component authoring.
Interfaces Overview
Provides an overview of interfaces in Visual Basic.
Show:
© 2015 Microsoft