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

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

プロパティ値

Object

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

実装

例外

index がリスト内での有効なインデックス位置ではありません。

注釈

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

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、RowDefinitionCollection のインスタンスが IList インターフェイスにキャストされる場合のみ、使用できます。

適用対象