SynchronizedReadOnlyCollection<T>.IList<T>.RemoveAt(Int32) 方法

定義

如果呼叫,則會擲回 NotSupportedException

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

參數

index
Int32

要從集合中擷取之項目的以零起始的索引。

實作

例外狀況

這些項目無法從唯讀的集合中移除。

適用於