Vb Object Oriented Inheritance
Table of Contents


Inheritance is the process you use to derive one class from another.

Public Class Form1
Inherits System.Windows.Forms.Form

The Inherits statement is used to declare a new class, called the derived class, based on an existing class, known as the base class.

Derived classes inherit, and can extend, the properties, methods, events, fields, and constants defined in the base class (the exception here are constructors, which are not inherited).
By default, any class can serve as a base class unless you explicitly mark it with the NotInheritable keyword.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.