Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


LookupBindingPropertiesAttribute Constructors

Definition

Initializes a new instance of the LookupBindingPropertiesAttribute class.

Overloads

LookupBindingPropertiesAttribute()

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

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

C#
public LookupBindingPropertiesAttribute();

Remarks

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

See also

Applies to

.NET 10 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

LookupBindingPropertiesAttribute(String, String, String, String)

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

Initializes a new instance of the LookupBindingPropertiesAttribute class.

C#
public LookupBindingPropertiesAttribute(string dataSource, string displayMember, string valueMember, string lookupMember);

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

.NET 10 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1