ComponentOne MultiSelect for WinForms
SetItemsDataSource(Object,String,Int32) Method

C1.Win.C1Input Namespace > C1ComboBox Class > SetItemsDataSource Method : SetItemsDataSource(Object,String,Int32) Method
Data source.
Data member.
Initially selected item index.
Sets items data source, data member and initially selected item index for the C1ComboBox.
Syntax
'Declaration
 
Public Overloads Sub SetItemsDataSource( _
   ByVal dataSource As Object, _
   ByVal dataMember As String, _
   ByVal selectedIndex As Integer _
) 
public void SetItemsDataSource( 
   object dataSource,
   string dataMember,
   int selectedIndex
)

Parameters

dataSource
Data source.
dataMember
Data member.
selectedIndex
Initially selected item index.
See Also

Reference

C1ComboBox Class
C1ComboBox Members
Overload List