Edit

Kongsi melalui


SynchronizedReadOnlyCollection<T>.IList<T>.Insert 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);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
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