GroupCollection.IList.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

群組集合中群組的以零起始索引位置。

屬性值

Object

位於所需位置的群組。

實作

例外狀況

無法設定項目。 此為唯讀集合。

備註

這個成員是明確介面成員實作, 只有在 GroupCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於