GroupCollection.IList.Item[Int32] 属性
定义
获取所需位置中的组。Gets the group in the desired position.
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
组集合中组的零索引位置。The zero-index position of the group in the group collection.
属性值
所需位置中的组。The group in the desired position.
实现
例外
无法设置项。Cannot set an item. 这是一个只读集合。This is a read-only collection.
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 GroupCollection 实例被强制转换为 IList 接口时使用。It can be used only when the GroupCollection instance is cast to an IList interface.