Version

BindableValueList Constructor(Object,String,String,String,Control)

Constructor. Throws an ArgumentNullException if any of the arguments are null (Nothing).
Syntax
'Declaration
 
Public Function New( _
   ByVal dataSource As Object, _
   ByVal dataMember As String, _
   ByVal displayMember As String, _
   ByVal valueMember As String, _
   ByVal bindingContextControl As Control _
)
public BindableValueList( 
   object dataSource,
   string dataMember,
   string displayMember,
   string valueMember,
   Control bindingContextControl
)

Parameters

dataSource
The source for populating the list of items.
dataMember
The name of a specific data member in a multitier data source.
displayMember
The name of the property in the data source whose contents are to be displayed.
valueMember
The name of the property in the data source from which to retrieve the value.
bindingContextControl
The control used for retrieving the BindingContext.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also