SynchronizedReadOnlyCollection<T>.IList<T>.Insert(Int32, T) Method

Definition

Throws a NotSupportedException if called.

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

Parameters

index
Int32

The zero-based index at which value is to be inserted.

value
T

The object to insert into the collection.

Implements

Exceptions

Items cannot be inserted into a read-only collection.

Applies to