Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.31 KB

File metadata and controls

40 lines (36 loc) · 1.31 KB
title NotInheritable (Visual Basic)
ms.date 07/20/2015
ms.prod .net
ms.suite
ms.technology
devlang-visual-basic
ms.topic article
f1_keywords
NotInheritable
vb.NotInheritable
helpviewer_keywords
classes [Visual Basic], final
NotInheritable keyword [Visual Basic]
classes [Visual Basic], sealed
elements [Visual Basic], sealed
sealed [elements VB]
inheritance [Visual Basic], NotInheritable keyword
final classes [Visual Basic]
sealed classes [Visual Basic]
classes [Visual Basic], not inheritable
ms.assetid 5c4da7c9-9562-4653-a947-1972e992f9f9
caps.latest.revision 9
author dotnet-bot
ms.author dotnetcontent

NotInheritable (Visual Basic)

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

See Also

Inherits Statement
MustInherit
Keywords