Removes this C1ComboBoxItem from Items()()()() collection.

Namespace:  C1.Web.UI.Controls.C1ComboBox
Assembly:  C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)

Syntax

C#
public void Remove()
Visual Basic (Declaration)
Public Sub Remove

Examples

Following code shows how to use this method.
Copy CodeC#
C1ComboBox comboBox = new C1ComboBox();
comboBox.Items.Add(new C1ComboBoxItem("test2"));
comboBox.Items.Add(new C1ComboBoxItem("test1"));
// test2 will be removed from collection.
comboBox.Items[0].Remove();

See Also