語言

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

要取得或設定的項目的零基索引。

屬性值

位於指定索引的元素。

實作

例外狀況

本合集為唯讀。

所設定的值不是 PropertyDescriptor。

index 小於0。

-或-

index 等於或大於 Count。

適用於