SynchronizedReadOnlyCollection<T>.IList<T>.Insert Metod

Definition

Kastar en NotSupportedException om anropad.

 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

Parametrar

index
Int32

Det nollbaserade index där value ska infogas.

value
T

Objektet som ska infogas i samlingen.

Implementeringar

Undantag

Det går inte att infoga objekt i en skrivskyddad samling.

Gäller för