SynchronizedReadOnlyCollection<T>.IList.Item[Int32] プロパティ

定義

指定したインデックス (0 から始まる) の位置にある項目を取得します。

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

コレクションから取得する要素の 0 から始まるインデックス番号。

プロパティ値

Object

指定した 0 から始まるインデックス位置にある項目。

実装

例外

項目は、読み取り専用コレクションでは設定できません。

適用対象