SynchronizedReadOnlyCollection<T>.IList<T>.RemoveAt(Int32) SynchronizedReadOnlyCollection<T>.IList<T>.RemoveAt(Int32) SynchronizedReadOnlyCollection<T>.IList<T>.RemoveAt(Int32) Method

定义

如果调用,会引发 NotSupportedExceptionThrows a NotSupportedException if called.

 virtual void System.Collections.Generic.IList<T>.RemoveAt(int index) = System::Collections::Generic::IList<T>::RemoveAt;
void IList<T>.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList(Of T).RemoveAt

参数

index
Int32 Int32 Int32

要从集合中检索的元素的从零开始的索引。The zero-based index of the element to be retrieved from the collection.

实现

异常

不能移除只读集合中的项。Items cannot be removed from a read-only collection.

适用于