Export (0) Print
Expand All

Sharing Code by Using Interfaces

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

If two or more objects share common functionality, consider whether you can implement an interface that the objects can share. That way you can consolidate your code by moving common code to the interface.

See Also

Why Build Your Own Objects? | Basic Class Concepts | Creating Property Procedures | Creating Events and Event Procedures | Extending Objects Through Interfaces | Designing Object Models | Creating Custom Objects for Web Pages

© 2015 Microsoft