DefaultBindingPropertyAttribute 构造函数

定义

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

重载

DefaultBindingPropertyAttribute()

不使用任何参数初始化 DefaultBindingPropertyAttribute 类的新实例。Initializes a new instance of the DefaultBindingPropertyAttribute class using no parameters.

DefaultBindingPropertyAttribute(String)

使用指定的属性名称初始化 DefaultBindingPropertyAttribute 类的新实例。Initializes a new instance of the DefaultBindingPropertyAttribute class using the specified property name.

DefaultBindingPropertyAttribute()

不使用任何参数初始化 DefaultBindingPropertyAttribute 类的新实例。Initializes a new instance of the DefaultBindingPropertyAttribute class using no parameters.

public:
 DefaultBindingPropertyAttribute();
public DefaultBindingPropertyAttribute ();
Public Sub New ()

注解

无参数构造函数将 Name 属性设置为 nullThe parameterless constructor sets the Name property to null.

另请参阅

适用于

DefaultBindingPropertyAttribute(String)

使用指定的属性名称初始化 DefaultBindingPropertyAttribute 类的新实例。Initializes a new instance of the DefaultBindingPropertyAttribute class using the specified property name.

public:
 DefaultBindingPropertyAttribute(System::String ^ name);
public DefaultBindingPropertyAttribute (string name);
new System.ComponentModel.DefaultBindingPropertyAttribute : string -> System.ComponentModel.DefaultBindingPropertyAttribute
Public Sub New (name As String)

参数

name
String

默认绑定属性的名称。The name of the default binding property.

注解

此构造函数将 Name 属性设置为参数的值 nameThis constructor sets the Name property to the value of the name parameter.

另请参阅

适用于