Export (0) Print
Expand All

LookupBindingPropertiesAttribute.LookupBindingPropertiesAttribute(String, String, String, String) Constructor

Initializes a new instance of the LookupBindingPropertiesAttribute class.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

public LookupBindingPropertiesAttribute (
	string dataSource,
	string displayMember,
	string valueMember,
	string lookupMember
)
public LookupBindingPropertiesAttribute (
	String dataSource, 
	String displayMember, 
	String valueMember, 
	String lookupMember
)
public function LookupBindingPropertiesAttribute (
	dataSource : String, 
	displayMember : String, 
	valueMember : String, 
	lookupMember : String
)
Not applicable.

Parameters

dataSource

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

displayMember

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

valueMember

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

lookupMember

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft