_CommandBarComboBox.List[Int32] 属性

定义

获取或设置列表中指定索引处的项。

public:
 property System::String ^ List[int] { System::String ^ get(int Index); void set(int Index, System::String ^ value); };
[System.Runtime.InteropServices.DispId(1610940422)]
public string List[int Index] { [System.Runtime.InteropServices.DispId(1610940422)] get; [System.Runtime.InteropServices.DispId(1610940422)] set; }
[<System.Runtime.InteropServices.DispId(1610940422)>]
[<get: System.Runtime.InteropServices.DispId(1610940422)>]
[<set: System.Runtime.InteropServices.DispId(1610940422)>]
member this.List(int) : string with get, set
Public Property List(Index As Integer) As String

参数

Index
Int32

列表中的索引。

属性值

String

get此属性的访问器返回索引位置处的项。

属性

注解

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

列表从1开始。

适用于