NotInheritable (Visual Basic)

指定某一类不能作为基类使用。

注解

替代术语。 不能继承的类有时称为密封类。

NotInheritable 修饰符可用于以下上下文:

Class 语句

另请参阅