_CommandBarComboBox.List[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置列表中指定索引处的项。
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
列表中的索引。
属性值
get此属性的访问器返回索引位置处的项。
- 属性
注解
set访问器已弃用,并引发 DeprecatedException。
列表从1开始。