SchemaNameCollection.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

取得または設定する要素の、0 から始まるインデックス番号。

プロパティ値

指定したインデックス位置にある要素。

実装

例外

indexIList の有効なインデックスではありません。

このプロパティが設定されていますが、IList が読み取り専用です。

注釈

このプロパティは、構文 myCollection[index] を使用して、コレクションの特定の要素にアクセスする機能を提供します。

適用対象