NotInheritable (Visual Basic)

Specifies that a class cannot be used as a base class.


Alternate Terms. A class that cannot be inherited is sometimes called a sealed class.

The NotInheritable modifier can be used in this context:

Class Statement (Visual Basic)

See Also


Inherits Statement

MustInherit (Visual Basic)

Other Resources

Keywords (Visual Basic)