Adds an item to a ComboBox or ListBox control.
object.AddItem ( Value, Text ) |
- Value
- Required. A String that specifies the Value.
- Text
- Required. A String that specifies the Text.
- For a ComboBox, when limittolist attribute is set to true, the syntax can only be object.AddItem ( Value )