ComponentOne MultiSelect for WinForms
C1.Win.C1Input Namespace / C1ComboBox Class / SetItemsDataSource Method / SetItemsDataSource(Object,String,Int32) Method
Data source.
Data member.
Initially selected item index.

In This Topic
    SetItemsDataSource(Object,String,Int32) Method
    In This Topic
    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