ListBox.SelectedIndexCollection.IList.Item[Int32] 属性

定义

有关此成员的说明,请参见 Item[Int32]

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
object? System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

参数

index
Int32

要获取的元素的索引(索引从零开始)。

属性值

存储在指定位置的 ListBox.ObjectCollection 中的索引值。

实现

注解

此成员是显式接口成员的实现。 它只能在 ListBox.SelectedIndexCollection 实例被强制转换为 IList 接口时使用。

适用于