SynchronizedCollection<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 から始まるインデックス。

プロパティ値

指定した indexを持つ項目。

実装

例外

値セットが null されているか、コレクションの適切なジェネリック型 T ではありません。

指定した index が 0 未満か、コレクション内の項目の数より大きい値です。

適用対象