CheckedListBox.CheckedIndexCollection.IList.Remove(Object) 方法

定義

如需這個成員的說明,請參閱 Remove(Object)For a description of this member, see Remove(Object).

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
Sub Remove (value As Object) Implements IList.Remove

參數

value
Object

要從 CheckedListBox.CheckedIndexCollection 中移除的物件。The object to be removed from the CheckedListBox.CheckedIndexCollection.

實作

例外狀況

一律擲回。Always thrown.

備註

您無法直接變更 CheckedListBox.CheckedIndexCollection 類別。You cannot change the CheckedListBox.CheckedIndexCollection class directly. 若要從 CheckedListBox.CheckedIndexCollection中移除專案,請使用 SetItemCheckedSetItemCheckState 方法。To remove an item from the CheckedListBox.CheckedIndexCollection, use the SetItemChecked or SetItemCheckState method.

適用於