APNSoft Controls [4.5.2.20] - API Reference
ComboBoxElementCollection.AddItem Method (String, String)

Adds a new item to the collection.

[Visual Basic]
Overloads Public Function AddItem( _
   ByVal NewID As String, _
   ByVal Title As String _
) As ComboBoxElement
[C#]
public ComboBoxElement AddItem(
   string NewID,
   string Title
);

Parameters

NewID
ID of the new item.
Title
The text (caption) displayed for the item.

Return Value

New item element.

See Also

ComboBoxElementCollection Class | APNSoft.WebControls Namespace | ComboBoxElementCollection.AddItem Overload List