ArraySegment<T>.IList<T>.Insert(Int32, T) 方法

定义

NotSupportedException在所有情况下都引发异常。

 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

应插入的从零开始 item 的索引。

item
T

要插入数组段的对象。

实现

例外

在所有情况下。

注解

此方法始终会引发一个 NotSupportedException ,因为数组段无法展开。

适用于