SynchronizedReadOnlyCollection<T>.IList<T>.Insert Metoda

Definicja

Zgłasza wywołanie NotSupportedException if.

 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

Parametry

index
Int32

Indeks oparty na zerze, w którym value ma zostać wstawiony.

value
T

Obiekt do wstawienia do kolekcji.

Implementuje

Wyjątki

Nie można wstawić elementów do kolekcji tylko do odczytu.

Dotyczy