InheritanceAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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 表示該屬性應設定的繼承等級。