語言

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

定義

或是該成員的描述,請參見 RemoveAt(Int32)。

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt(int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

參數

index
Int32

要移除的項目的零基指數。

實作

例外狀況

總是被拋出。

備註

你不能直接更換 CheckedListBox.CheckedIndexCollection 職業。 要從 中移除物品 CheckedListBox.CheckedIndexCollection,請使用 SetItemChecked 或方法 SetItemCheckState 。

適用於