Skip to content

AddItem

所属类:


描述

向下拉框添加一个选项。添加选项时value值默认为空字符串


参数

名称
类型
默认
描述
itemstring选项的显示文本(item的key值)

返回值

返回类型
概要
int新添加选项的索引,从0开始计数