CheckedListBox.CheckedIndexCollection.IList.Insert(Int32, Object) メソッド

定義

このメンバーの説明については、 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
Object

CheckedListBox.CheckedIndexCollectionに追加するオブジェクト。

実装

例外

常にスローされます。

注釈

CheckedListBox.CheckedIndexCollection クラスを直接変更することはできません。 CheckedListBox.CheckedIndexCollectionに項目を追加するには、SetItemCheckedメソッドまたは SetItemCheckState メソッドを使用します。

適用対象