InheritanceAttribute 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 InheritanceAttribute 类的新实例。
重载
| InheritanceAttribute() | 初始化 InheritanceAttribute 类的新实例。 | 
| InheritanceAttribute(InheritanceLevel) | 使用指定的继承级别初始化 InheritanceAttribute 类的新实例。 | 
InheritanceAttribute()
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
初始化 InheritanceAttribute 类的新实例。
public:
 InheritanceAttribute();public InheritanceAttribute ();Public Sub New ()适用于
InheritanceAttribute(InheritanceLevel)
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
- Source:
- InheritanceAttribute.cs
使用指定的继承级别初始化 InheritanceAttribute 类的新实例。
public:
 InheritanceAttribute(System::ComponentModel::InheritanceLevel inheritanceLevel);public InheritanceAttribute (System.ComponentModel.InheritanceLevel inheritanceLevel);new System.ComponentModel.InheritanceAttribute : System.ComponentModel.InheritanceLevel -> System.ComponentModel.InheritanceAttributePublic Sub New (inheritanceLevel As InheritanceLevel)参数
- inheritanceLevel
- InheritanceLevel
一个 InheritanceLevel,指示要将此特性设置成的继承级别。