SynchronizedReadOnlyCollection<T>.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; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

參數

index
Int32

要從集合中擷取之項目的以零起始的索引。

屬性值

位於指定之以零起始之索引的專案。

實作

例外狀況

這些項目無法在唯讀的集合中設定。

適用於