Edit

Share via


LookupBindingPropertiesAttribute Constructors

Definition

Initializes a new instance of the LookupBindingPropertiesAttribute class.

Overloads

LookupBindingPropertiesAttribute()

Initializes a new instance of the LookupBindingPropertiesAttribute class using no parameters.

LookupBindingPropertiesAttribute(String, String, String, String)

Initializes a new instance of the LookupBindingPropertiesAttribute class.

LookupBindingPropertiesAttribute()

Source:
LookupBindingPropertiesAttribute.cs
Source:
LookupBindingPropertiesAttribute.cs
Source:
LookupBindingPropertiesAttribute.cs

Initializes a new instance of the LookupBindingPropertiesAttribute class using no parameters.

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

Remarks

The parameterless constructor sets the DataSource, DisplayMember, ValueMember, and LookupMember properties to null.

See also

Applies to

LookupBindingPropertiesAttribute(String, String, String, String)

Source:
LookupBindingPropertiesAttribute.cs
Source:
LookupBindingPropertiesAttribute.cs
Source:
LookupBindingPropertiesAttribute.cs

Initializes a new instance of the LookupBindingPropertiesAttribute class.

public:
 LookupBindingPropertiesAttribute(System::String ^ dataSource, System::String ^ displayMember, System::String ^ valueMember, System::String ^ lookupMember);
public LookupBindingPropertiesAttribute (string dataSource, string displayMember, string valueMember, string lookupMember);
new System.ComponentModel.LookupBindingPropertiesAttribute : string * string * string * string -> System.ComponentModel.LookupBindingPropertiesAttribute
Public Sub New (dataSource As String, displayMember As String, valueMember As String, lookupMember As String)

Parameters

dataSource
String

The name of the property to be used as the data source.

displayMember
String

The name of the property to be used for the display name.

valueMember
String

The name of the property to be used as the source for values.

lookupMember
String

The name of the property to be used for lookups.

Remarks

This constructor sets each of its public properties to the corresponding supplied parameter; for example, the DataSource property is set to dataSource.

See also

Applies to