FreezableCollection<T>.RemoveAt(Int32) 方法

定義

FreezableCollection<T> 指定之以零起始的索引處移除物件。

public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

參數

index
Int32

要移除的物件之以零為起始的索引。

實作

例外狀況

index 小於 0。

-或- index 大於 Count

FreezableCollection<T> 已凍結 (其 IsFrozen 屬性為 true)。

適用於