InheritanceAttribute.NotInherited 字段

指定组件不被继承。此字段为只读。

**命名空间:**System.ComponentModel
**程序集:**System(在 system.dll 中)

语法

声明
Public Shared ReadOnly NotInherited As InheritanceAttribute
用法
Dim value As InheritanceAttribute

value = InheritanceAttribute.NotInherited
public static readonly InheritanceAttribute NotInherited
public:
static initonly InheritanceAttribute^ NotInherited
public static final InheritanceAttribute NotInherited
public static final var NotInherited : InheritanceAttribute

备注

此字段创建一个新 InheritanceAttribute,指示关联的组件不被继承。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

InheritanceAttribute 类
InheritanceAttribute 成员
System.ComponentModel 命名空间