NameScopePropertyAttribute 构造函数

定义

初始化 NameScopePropertyAttribute 类的新实例。Initializes a new instance of the NameScopePropertyAttribute class.

重载

NameScopePropertyAttribute(String)

用指定的名称初始化 NameScopePropertyAttribute 类的新实例。Initializes a new instance of the NameScopePropertyAttribute class with the specified name.

NameScopePropertyAttribute(String, Type)

使用指定的名称和类型初始化 NameScopePropertyAttribute 类的新实例。Initializes a new instance of the NameScopePropertyAttribute class with the specified name and type.

NameScopePropertyAttribute(String)

用指定的名称初始化 NameScopePropertyAttribute 类的新实例。Initializes a new instance of the NameScopePropertyAttribute class with the specified name.

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 名称范围的特性化类型上属性的名称。The name of the property on the attributed type that provides the XAML namescope.

NameScopePropertyAttribute(String, Type)

使用指定的名称和类型初始化 NameScopePropertyAttribute 类的新实例。Initializes a new instance of the NameScopePropertyAttribute class with the specified name and type.

public:
 NameScopePropertyAttribute(System::String ^ name, Type ^ type);
public NameScopePropertyAttribute (string name, Type type);
new System.Windows.Markup.NameScopePropertyAttribute : string * Type -> System.Windows.Markup.NameScopePropertyAttribute

参数

name
String

提供 XAML 名称范围的可附加成员的名称。The name of the attachable member that provides the XAML name scope.

type
Type

提供 XAML 名称范围的可附加成员的所有者类型。The owner type of the attachable member that provides the XAML name scope.

适用于