SynchronizedReadOnlyCollection<T>.IList.Remove(Object) 方法
定义
从集合中检索指定的元素。Retrieves the specified element from the collection.
virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove
参数
- value
- Object
要从集合中检索的元素的从零开始的索引。The zero-based index of the element to be retrieved from the collection.
实现
例外
不能移除只读集合中的项。Items cannot be removed from a read-only collection.
注解
如果调用,会引发 NotSupportedException。Throws a NotSupportedException if called.