ComponentOne MultiSelect for WinForms
C1.Win.Input Namespace / C1ComboBox Class / SetItemsDataSource Method
the items data source.
the initially selected item index.

In This Topic
    SetItemsDataSource Method (C1ComboBox)
    In This Topic
    Sets items data source for the C1ComboBox.
    Syntax
    'Declaration
     
    
    Public Sub SetItemsDataSource( _
       ByVal dataSource As Object, _
       Optional ByVal selectedIndex As Integer _
    ) 
    public void SetItemsDataSource( 
       object dataSource,
       int selectedIndex
    )

    Parameters

    dataSource
    the items data source.
    selectedIndex
    the initially selected item index.
    See Also