InheritanceAttribute 构造函数

定义

初始化 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.InheritanceAttribute
Public Sub New (inheritanceLevel As InheritanceLevel)

参数

inheritanceLevel
InheritanceLevel

一个 InheritanceLevel,指示要将此特性设置成的继承级别。

另请参阅

适用于