InheritanceAttribute 构造函数

定义

初始化 InheritanceAttribute 类的新实例。

重载

名称 说明
InheritanceAttribute()

初始化 InheritanceAttribute 类的新实例。

InheritanceAttribute(InheritanceLevel)

使用指定的继承级别初始化类的新实例 InheritanceAttribute

InheritanceAttribute()

Source:
InheritanceAttribute.cs
Source:
InheritanceAttribute.cs
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
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 将此属性设置为的继承级别。

另请参阅

适用于