Megosztás a következőn keresztül:


NewItemID Property

Specifies the item ID of the item most recently added to a ComboBox or ListBox control. Not available at design time; read-only at run time.

 [Form.]Control.NewItemID

Remarks

For more information about the differences between using an item ID or an index, see AddItem Method or AddListItem Method.

See Also

AddItem Method | AddListItem Method | Clear Method | ItemData Property | List Property | ListCount Property | MultiSelect Property | NewIndex Property | RemoveItem Method | Selected Property | TopItemID Property

Applies To: ComboBox | ListBox