PropertyDescriptorCollection.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

要取得或設定的項目之以零起始的索引。

屬性值

在指定索引上的項目。

實作

例外狀況

集合是唯讀的。

index 小於 0。

-或-

index 等於或大於 Count

適用於