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

プロパティ値

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

実装

例外

コレクションは読み取り専用です。

index が 0 未満です。

または

indexCount 以上になっています。

注釈

注意

HostProtectionAttributeこのクラスに適用される属性のプロパティ値は Resources です。 Synchronization HostProtectionAttribute は、デスクトップ アプリケーション (通常、アイコンのダブルクリック、コマンドの入力、またはブラウザーへの URL の入力により起動されます) には影響しません。 詳細については、「クラス」または「プログラミング属性とホスト保護属性SQL Server」を参照してくださいHostProtectionAttribute

適用対象