_CommandBarComboBox.ListIndex 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置列表中选定项的基于 (1 的) 索引。
public:
property int ListIndex { int get(); void set(int value); };
public:
property int ListIndex { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610940427)]
public int ListIndex { [System.Runtime.InteropServices.DispId(1610940427)] get; [System.Runtime.InteropServices.DispId(1610940427)] set; }
[<System.Runtime.InteropServices.DispId(1610940427)>]
[<get: System.Runtime.InteropServices.DispId(1610940427)>]
[<set: System.Runtime.InteropServices.DispId(1610940427)>]
member this.ListIndex : int with get, set
Public Property ListIndex As Integer
属性值
列表中选定项的基于 (1 的) 索引。
- 属性
注解
set访问器已弃用,并引发 DeprecatedException。