InheritanceAttribute 建構函式

定義

初始化 InheritanceAttribute 類別的新執行個體。

多載

名稱 Description
InheritanceAttribute()

初始化 InheritanceAttribute 類別的新執行個體。

InheritanceAttribute(InheritanceLevel)

初始化一個以指定繼承層級的新類別實例 InheritanceAttribute

InheritanceAttribute()

初始化 InheritanceAttribute 類別的新執行個體。

public:
 InheritanceAttribute();
public InheritanceAttribute();
Public Sub New ()

適用於

InheritanceAttribute(InheritanceLevel)

初始化一個以指定繼承層級的新類別實例 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 表示該屬性應設定的繼承等級。

另請參閱

適用於