NotInheritable 

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

Remarks

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

Reference

Inherits Statement
MustInherit
Visual Basic Language Keywords