ListView.ListViewItemCollection.IList.Item[Int32] プロパティ

定義

コレクション内の指定したインデックスにある ListViewItem を取得または設定します。

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

コレクション内の指定したインデックスにある項目を表す ListViewItem

実装

例外

index パラメーターの値が、0 未満または CountListView.ListViewItemCollection プロパティの値以上です。

注釈

パラメーターは item 、任意の型に設定できます。 a のListViewItem場合itemListView.ListViewItemCollection、. 別の型の場合itemは、メソッドの文字列を含む新しいListViewItemitemToString作成されます。

適用対象