ListView.CheckedIndexCollection.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);
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

value を挿入する位置のインデックス番号。

value
Object

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

実装

例外

常にスローされます。

注釈

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

適用対象