語言

StateManagedCollection.IList.RemoveAt(Int32) 方法

定義

移除 IStateManager 指定索引上的元素。

 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

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

實作

例外狀況

備註

OnValidate在從集合中移除值之前,會呼叫該方法來驗證value。 OnRemove方法在物件OnRemoveComplete移除前被呼叫,物件移除後呼叫。

適用於

另請參閱