'Declaration Public Function New( _ ByVal dataSource As Object, _ ByVal dataMember As String, _ ByVal valueMember As String, _ ByVal displayFormat As String _ )
'Usage Dim dataSource As Object Dim dataMember As String Dim valueMember As String Dim displayFormat As String Dim instance As New WinComboBox(dataSource, dataMember, valueMember, displayFormat)
public WinComboBox( object dataSource, string dataMember, string valueMember, string displayFormat )
Parameters
- dataSource
- The data source used to populate the combobox.
- dataMember
- The table to bind to within the dataSource.
- valueMember
- A string that specifies the field of the dataSource from which to draw the value.
- displayFormat
- The format with which the SelectedItem is displayed in the combobox.