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

定义

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

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

参数

index
Int32

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

实现

异常

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

注解

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

适用于