_CommandBarComboBox.ListIndex 属性

定义

获取或设置列表中选定项的基于 (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

属性值

Int32

列表中选定项的基于 (1 的) 索引。

属性

注解

set访问器已弃用,并引发 DeprecatedException。

适用于