Collection.IList.Item[Int32] プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインデックス位置にある要素を取得または設定します。
property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int Index); void set(int Index, System::Object ^ value); };
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 IListItem(Index As Integer) As Object Implements IList.Item
Property IListItem(index As Integer) As Object Implements IList.Item
パラメーター
- Indexindex
- Int32
取得または設定する要素の 0 から始まるインデックス。
プロパティ値
指定したインデックス位置にある要素。
例外
index は、 Collection オブジェクト内の有効なインデックスではありません。
プロパティが設定され、 Collection オブジェクトは読み取り専用です。