Input for WinForms | ComponentOne
C1.Win.Input Namespace / ComboBoxItemCollection Class / SetItem Method
The zero-based index of the element to replace.
The new value for the element at the specified index.

In This Topic
    SetItem Method (ComboBoxItemCollection)
    In This Topic
    Replaces the element at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub SetItem( _
       ByVal index As Integer, _
       ByVal item As ComboBoxItem _
    ) 
    protected override void SetItem( 
       int index,
       ComboBoxItem item
    )

    Parameters

    index
    The zero-based index of the element to replace.
    item
    The new value for the element at the specified index.
    See Also