Language

CheckedListBox.CheckedIndexCollection.IList.Clear メソッド

定義

CheckedListBox.CheckedIndexCollectionからすべての項目を削除します。 このメンバーの説明については、 Clear()を参照してください。

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

実装

例外

常にスローされます。

注釈

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

適用対象