NotInheritable (Visual Basic)
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
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.
NotInheritable modifier can be used in this context: