Edit

Share via


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

Definition

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);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parameters

index
Int32

The zero-based index of the element to be retrieved from the collection.

Implements

Exceptions

Items cannot be removed from a read-only collection.

Remarks

Throws a NotSupportedException if called.

Applies to