StateManagedCollection.IList.RemoveAt(Int32) 方法

定義

移除指定索引處的 IStateManager 項目。Removes the IStateManager element at the specified index.

 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

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

實作

例外狀況

備註

OnValidate value 從集合中移除值之前,會呼叫方法以進行驗證。The OnValidate method is called to validate value before the value is removed from the collection. OnRemove方法會在移除物件之前呼叫,並在 OnRemoveComplete 移除物件之後呼叫方法。The OnRemove method is called before the object is removed, and the OnRemoveComplete method is called after the object is removed.

適用於

另請參閱