LookupBindingPropertiesAttribute Constructor (String^, String^, String^, String^)
.NET Framework (current version)
Initializes a new instance of the LookupBindingPropertiesAttribute class.
Assembly: System (in System.dll)
public:
LookupBindingPropertiesAttribute(
String^ dataSource,
String^ displayMember,
String^ valueMember,
String^ lookupMember
)
Parameters
- dataSource
-
Type:
System::String^
The name of the property to be used as the data source.
- displayMember
-
Type:
System::String^
The name of the property to be used for the display name.
- valueMember
-
Type:
System::String^
The name of the property to be used as the source for values.
- lookupMember
-
Type:
System::String^
The name of the property to be used for lookups.
This constructor sets each of its public properties to the corresponding supplied parameter; for example, the DataSource property is set to dataSource.
.NET Framework
Available since 2.0
Silverlight
Available since 4.0
Available since 2.0
Silverlight
Available since 4.0
Show: