ComponentOne TreeView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ComboBox Namespace / C1ComboBoxItemCollection Class / Add Method
Item to add.
Example

In This Topic
    Add Method (C1ComboBoxItemCollection)
    In This Topic
    Adds a new C1ComboBoxItem to the end of the list.
    Syntax
    'Declaration
     
    Public Shadows Sub Add( _
       ByVal child As C1ComboBoxItem _
    ) 
    public new void Add( 
       C1ComboBoxItem child
    )

    Parameters

    child
    Item to add.
    Example
    C1ComboBox c = new C1ComboBox();
    c.Items.Add(new C1ComboBoxItem("test1"));
    c.Items.Add(new C1ComboBoxItem("test2"));
    See Also