ArgumentDescription listboxnameThe name of the ListBox or DropDownListBox in which you want to add an item itemA string whose value is the text of the item you want to add Return value
Integer. Returns the position of the new item. If the list is sorted, the position returned is the position of the item after the list is sorted. Returns -1 if it fails. If any argument's value is null, AddItem returns null.