Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Inheritance and the .NET Framework

Visual Studio .NET applications can use many of the classes found in the .NET Framework as base classes. Attribute classes, for instance, are always based on the class System.Attribute. Other useful .NET Framework base classes include System.ComponentModel.Component, which is inherited from to define components, and System.Exception, which is inherited from to define custom exception classes.

The .NET Framework is more than a source for base classes; it ensures compatibility between classes created with different programming languages. Visual Basic .NET classes can inherit from classes in assemblies created by any language supported by Visual Studio .NET. The classes you create in Visual Basic .NET can also be used as base classes by other .NET programming languages.

See Also

Walkthrough: Implementing Inheritance with COM Objects | Inheritance and the Base Object Class | When to Use Inheritance

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.