ComponentOne AutoComplete for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ComboBox Namespace / C1ComboBoxItemCollection Class / Insert Method
Position where the C1ComboBoxItem will be added. The value should be greater than or equal to 0.
C1ComboBoxItem instance.
Example

In This Topic
    Insert Method (C1ComboBoxItemCollection)
    In This Topic
    Inserts a C1ComboBoxItem at the specified position in the collection.
    Syntax
    'Declaration
     
    Public Shadows Sub Insert( _
       ByVal index As System.Integer, _
       ByVal child As C1ComboBoxItem _
    ) 
    public new void Insert( 
       System.int index,
       C1ComboBoxItem child
    )

    Parameters

    index
    Position where the C1ComboBoxItem will be added. The value should be greater than or equal to 0.
    child
    C1ComboBoxItem instance.
    Example
    C1ComboBox c = new C1ComboBox();
    c.Items.Add(new C1ComboBoxItem("test1"));
    c.Items.Insert(0,new C1ComboBoxItem("test2"));
    See Also