NameScopePropertyAttribute 建構函式

定義

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

多載

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 NameScope 之屬性化類型上的屬性名稱。

適用於

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 名稱範圍的可附加成員擁有者類型。

適用於