共用方式為


RemoveItem Method

Removes an item from a combo box or list box.

Control.RemoveItem(nIndex)

Parameters

  • nIndex
    Specifies an integer corresponding to the order in which items are displayed in the control. For the first item in a list box or combo box, nIndex = 1.

See Also

AddItem Method | Clear Method | RemoveListItem Method

Applies To: ComboBox | ListBox