CheckedListBox.CheckedIndexCollection.IList.RemoveAt(Int32) 方法

定義

如需這個成員的說明,請參閱 RemoveAt(Int32)or a description of this member, see RemoveAt(Int32).

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

參數

index
Int32

要移除的項目之以零為基底的索引。The zero-based index of the item to remove.

實作

例外狀況

一律擲回。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.

適用於