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

參數

inheritanceLevel
InheritanceLevel

InheritanceLevel,表示這個屬性所設定的繼承層級。An InheritanceLevel that indicates the level of inheritance to set this attribute to.

另請參閱

適用於