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

定义

有关此成员的说明,请参见 Item[Int32]For a description of this member, see 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; }
 Property Item(index As Integer) As Object Implements IList.Item

参数

index
Int32

要获取的元素的索引(索引从零开始)。The zero-based index of the element to get.

属性值

存储在指定位置的 ListBox.ObjectCollection 中的索引值。The index value from the ListBox.ObjectCollection that is stored at the specified location.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ListBox.SelectedIndexCollection 实例被强制转换为 IList 接口时使用。It can be used only when the ListBox.SelectedIndexCollection instance is cast to an IList interface.

适用于