InheritanceAttribute 建構函式

定義

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

多載

InheritanceAttribute()

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

InheritanceAttribute(InheritanceLevel)

使用指定的繼承層級,初始化 InheritanceAttribute 類別的新執行個體。

InheritanceAttribute()

來源:
InheritanceAttribute.cs
來源:
InheritanceAttribute.cs
來源:
InheritanceAttribute.cs

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

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

適用於

InheritanceAttribute(InheritanceLevel)

來源:
InheritanceAttribute.cs
來源:
InheritanceAttribute.cs
來源:
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,表示這個屬性所設定的繼承層級。

另請參閱

適用於