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 ,請使用 SetItemCheckedSetItemCheckState 方法。

適用於