ImmutableArray<T>.IList<T>.Insert(Int32, T) 方法
定义
在所有情况下均引发 NotSupportedException。Throws NotSupportedException in all cases.
virtual void System.Collections.Generic.IList<T>.Insert(int index, T item) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert (int index, T item);
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, item As T) Implements IList(Of T).Insert
参数
- index
- Int32
要插入项的位置的索引。The index of the location to insert the item.
- item
- T
要插入的项。The item to insert.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ImmutableArray<T> 实例被强制转换为 IList<T> 接口时使用。It can be used only when the ImmutableArray<T> instance is cast to an IList<T> interface.