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するには、or SetItemCheckState メソッドを使用しますSetItemChecked

適用対象