InheritanceAttribute 构造函数
定义
初始化 InheritanceAttribute 类的新实例。Initializes a new instance of the InheritanceAttribute class.
重载
| InheritanceAttribute() |
初始化 InheritanceAttribute 类的新实例。Initializes a new instance of the InheritanceAttribute class. |
| InheritanceAttribute(InheritanceLevel) |
使用指定的继承级别初始化 InheritanceAttribute 类的新实例。Initializes a new instance of the InheritanceAttribute class with the specified inheritance level. |
InheritanceAttribute()
初始化 InheritanceAttribute 类的新实例。Initializes a new instance of the InheritanceAttribute class.
public:
InheritanceAttribute();
public InheritanceAttribute ();
Public Sub New ()
适用于
InheritanceAttribute(InheritanceLevel)
使用指定的继承级别初始化 InheritanceAttribute 类的新实例。Initializes a new instance of the InheritanceAttribute class with the specified inheritance level.
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,指示要将此特性设置成的继承级别。An InheritanceLevel that indicates the level of inheritance to set this attribute to.