ListView.SelectedListViewItemCollection.IList.Insert(Int32, Object) メソッド

定義

コレクション内の指定したインデックスの位置に項目を挿入します。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

パラメーター

index
Int32

挿入する項目の 0 から始まるインデックス。

value
Object

ListView.SelectedListViewItemCollection に追加するオブジェクト。

実装

例外

常にスローされます。

注釈

クラスを ListView.SelectedListViewItemCollection 直接変更することはできません。 を にListView.SelectedListViewItemCollection追加ListViewItemするには、 プロパティを使用しますSelected

適用対象