SynchronizedReadOnlyCollection<T>.IList<T>.Insert 方法

定义

引发调用时引发。NotSupportedException

 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

参数

index
Int32

要插入的 value 从零开始的索引。

value
T

要插入到集合中的对象。

实现

例外

无法将项插入到只读集合中。

适用于