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 屬性設定為 name 參數的值。This constructor sets the Name property to the value of the name parameter.

另請參閱

適用於