NameScopePropertyAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 NameScopePropertyAttribute 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| NameScopePropertyAttribute(String) |
初始化一個以指定名稱的新 NameScopePropertyAttribute 類別實例。 |
| NameScopePropertyAttribute(String, Type) |
初始化一個以指定名稱和型別的新類別實例 NameScopePropertyAttribute 。 |
NameScopePropertyAttribute(String)
初始化一個以指定名稱的新 NameScopePropertyAttribute 類別實例。
public:
NameScopePropertyAttribute(System::String ^ name);
public NameScopePropertyAttribute(string name);
new System.Windows.Markup.NameScopePropertyAttribute : string -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String)
參數
- name
- String
提供 XAML 命名範圍的屬性名稱。
適用於
NameScopePropertyAttribute(String, Type)
初始化一個以指定名稱和型別的新類別實例 NameScopePropertyAttribute 。
public:
NameScopePropertyAttribute(System::String ^ name, Type ^ type);
public NameScopePropertyAttribute(string name, Type type);
new System.Windows.Markup.NameScopePropertyAttribute : string * Type -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String, type As Type)
參數
- name
- String
提供 XAML 名稱作用域的可附加成員名稱。
- type
- Type
提供 XAML 名稱範圍的可附加成員擁有者類型。